A Django web application to upload datasets, visualize variables, and run statistical models.
Required software
- python 3.6 (newer versions may have issues installing requirements.txt)
- mysql (with root password user and a 'pythonmodels' database)
Required software (in addition to those required below the initial setup)
- python3.6-dev
- python3.6-venv
- nginx
cd /var/www/
sudo git clone [email protected]:dorsett85/pymodel
sudo chown -R clayton:clayton pymodel/
cd pymodel/
# Make a virtual environment and install packages
python3.6 -m venv pyenv
source pyenv/bin/activate
pip install -r requirements.txt
pip install gunicorn
// Run the django migrations and static file collector
python manage.py migrate
python manage.py collectstatic
Next up we'll follow the tutorial at this link (starting form "Testing Gunicorn’s Ability to Serve the Project"):