Then run the following commands to bootstrap your environment.
mkvirtualenv --python=/path/to/required/python/version [appname]
Install python requirements.
pip install -r requirements/dev.txt
Set some environment variables. The following is required. Add as needed.
export SETTINGS='config.DevelopmentConfig'
export LRS_URL=
export LRS_USER=
export LRS_PASS=
Once that this all done you can:
./run.sh
or
python manage.py server
In your production environment, make sure the SETTINGS
environment variable is set to config.Config
.
To open the interactive shell, run ::
python manage.py shell