Settings Configuration-
-
To run the project locally without posting private information on GitHub
-
You will need to create your own settings_private.py file to be able to run the project correctly with the common.py file
- Create a file in the settings folder (where common.py is located) and save it as settings_private.py
In your new settings_private.py you only need to have 2 items in this settings file
- DEBUG = True
- SECRET_KEY = "MADE_UP_CAPITAL_STRINGS’
Within your virtual environment you will need to install all the packages that are within the requirements.txt to run the code base locally
Run from your terminal- $ pip3 install -r requirements.txt
Check for errors $ python3 manage.py check
Migrate the database
- $ python3 manage.py makemigrations
- $ python3 manage.py migrate