3) execute the createvirtualenv.sh script. I primarily created this script for MacOS users, because installing mysqlclient throws a lot of build errors that must be solved by modifying environment variables.
4) This script will generate and prepare a virtual environment called "myvenv" with all of the necessary dependencies installed. Be sure to activate this script manually once the script is finished executing.
https://www.linode.com/docs/databases/mysql/create-an-ssh-tunnel-for-mysql-remote-access/
Shortcut: if you're using Mac OS, use the following command to create an SSH tunnel to the Stono App database:
to create the tunnel. This must be done before running the dev server. You must know the database password for this to work. Login information may be provided by Dr. Sebastian van Delden.
Since location services have been added to the project, we must run the application using HTTPS. It will not work over HTTP. So, in order to serve with HTTPS from localhost, I added the django-extensions app to the project. So now, instead of running
You should instead use
This will enable the HTTPS protocol to work on localhost.