Skip to content

dorsett85/pymodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickmodel

A Django web application to upload datasets, visualize variables, and run statistical models.

QuickModel

setup

Required software

  1. python 3.6 (newer versions may have issues installing requirements.txt)
  2. mysql (with root password user and a 'pythonmodels' database)

production setup (ssh'd into server as sudo root user 'clayton')

Required software (in addition to those required below the initial setup)

  1. python3.6-dev
  2. python3.6-venv
  3. nginx
cd /var/www/
sudo git clone git@github.com: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"):

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04

About

Supercharged data modeling and visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published