src: https://appdividend.com/2018/03/28/how-to-install-django-in-mac/#Step_1_Install_Python_on_Mac
virtualenv ~/virtualenv
source ~/virtualenv/bin/activate
src: https://gist.github.com/Siltaar/9441a525d3a580311035fa2f3f431baa
requirements.txt
file installs all the necessary modules
for your project:
cd ~/virtualenv
sudo pip3 install -r ~/virtualenv/requirements.txt
cd ~/virtualenv/rioanalytics
python3 ~/virtualenv/rioanalytics/manage.py runserver
src: https://docs.djangoproject.com/en/2.2/intro/tutorial02/
cd ~/virtualenv/rioanalytics
python3 ~/virtualenv/rioanalytics/manage.py createsuperuser
Username:
Email address:
Password:
cd ~/virtualenv/rioanalytics
python3 ~/virtualenv/rioanalytics/manage.py dumpdata > ~/virtualenv/rioanalytics/datadump.json