A Django Project
- Check if you have PostgreSQL install in your system or not, if not, install it, and set it up.
- Now you will have to create a Database in PostgreSQL named < bookstore > (without the angle brackets :) That's it
-
Clone the git reop whereever you want
-
cd into the reop
-
Run the folowing command to install the pip requirements(dependencies) for the project
pip install -r requirements.txt
Note: you can also setup a virtual enviornment if you want
-
Now run the fullowing comand to migrate the database
python manage.py migrate
Now you're all set up, all you gotta do is run the server by following command
python manage.py runserver
The Bookstore should be live at localhost:8000