This project is currently deployed and useable on a Heroku instance at https://learning-log-pcc.herokuapp.com/
$ python3 -m venv ll_env
$ pip3install virtualenv
$ cd learning_log
learning_log$ virtualenv ll_env
learning_log$ source ll_env/bin/activate
(ll_env)learning_log$
(ll_env)learning_log$ pip install Django
(ll_env)learning_log$ python manage.py migrate
(ll_env)learning_log$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
December 18, 2017 - 01:43:04
Django version 2.0, using settings 'learning_log.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Visit http://127.0.0.1:8000/ in a browser.
(ll_env)learning_log$ heroku login
...
(ll_env)learning_log$ heroku create
...
Because we want to just deploy a subdirectory of the notebooks Git project, we run:
(ll_env)learning_log$ cd ../../
(ll_env)$ git subtree push --prefix python_crash_course/learning_log heroku master
(ll_env)learning_log$ cd python_crash_course/learning_log
(ll_env)$ heroku run python manage.py migrate