This project is for DBMS 578
When adding to this repo the branch file should use the following format
from master branch run the following
git checkout -b {ticket_number}-{ticket_name}-{ticket_name}
Install python3 Install virtualenv for python3
-
set SECRET_KEY in the base.py or secret.txt file (this file is in gitignore and will not be in version control) source secret.txt file ( this file is one line and should have the following:
export SECRET_KEY='{your key here}'
-
Activate virtual env
source venv/bin/activate
-
git clone Unlimited-Treasures repo and cd into the repo dir
-
pip3 install -r requirements.txt
the above command will install all of the needed packages to run your app locally -
cd to mysite folder
-
python3 manage.py runserver Run
python3 manage.py runserver
-
Create mysql database and tables
python3 manage.py makemigrations mysite
python3 manage.py migrate