This repository contains a blog application built in Django with Docker.
- A user can create, update, and delete a blog post.
- A user can signup/login.
- Only an author can edit/delete their post(s).
- A user can post comments in each post.
- Create a user profile for the users.
- Supports TeX commands.
Docker Installation:
- You can find the instructions here to install Docker.
- Please make sure that Docker is running (in the background) before you use the commands related to Docker.
Steps:
- Clone/download this repository.
- Create a virtual environment using the command
python3 -m venv .venv
; activate the virtual environment usingsource .venv/bin/activate
. - Run
pip install -r requirements.txt
to install dependencies. - Deactivate the virtual environment using
deactivate
in the terminal. - Configure your environment variables in docker-compose.yml file
- Run
docker-compose up -d --build
to install the dependencies in Docker container. - Run
docker-compose exec web python manage.py rename <currentprojectname> <newprojectname>