My custom django template, using this in case of racing with deadlines
Install python distribution (conda), either miniconda or anaconda
make init conda=miniconda #default
or
make init conda=anaconda
then
export PATH=$PATH:$HOME/miniconda3/bin
or
export PATH=$PATH:$HOME/anaconda/binInstall requirements with pip (bundled with both of the conda dist)
make requirementsmake start-devmake buildsudo make deployChanges to the django code will be automatically reloaded by gunicorn so technically no hard restart is needed to app service. However, just in case:
sudo make restartIf there is an error when using this template in Ubuntu Server, please install the following packages via apt.
sudo apt-get update && sudo apt-get install build-essential python3-dev