This is a simple blog app built using Django, and Postgresql. This was made as a means to become better at Django, to design and work with some complex models, views, user management and routes, and some other features like pagination.
- Install Python(3), Django, PDM, and Postgresql on your computer.
- Clone this project
git clone https://github.com/SAMAD101/blog_site.git
- Go into the project folder
cd blog_site - Make a virtual environment and activate it. This step is optional but preferred. You can use any virtualization tool you like.
- This project uses PDM for managing dependencies. So just run:
This will install all the dependencies needed for this project to run.
pdm install
- Run migrations:
python manage.py migrate users python manage.py migrate
- Finally, run the server:
python manage.py runserver