Django Tutorials
This project contains two apps.
- myapp
- formtut
Install requirements in the virtualenv from the requirements.txt. pip install -r requirements.txt
Apps reside at following address:
- myapp: '127.0.0.1:8000/myapp'
- formstut: '127.0.0.1:8000/forms/'
Create a file called evn_vars.sh and save the SECRET_KEY and posgresql password(if using Postgresql) as follows:
export REVIEW_SECRET_KEY='<your-secret-key>'
export PG_PASSWORD='<your-postgresql-password>'
Initialize DJANGO_SETTINGS_MODULE with init_base.sh for using sqlit3 else init_dev.sh as following:
source init_base.sh
or
source init_dev.sh