Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web-based data viewer for pressureNET
JavaScript Python CSS HTML Makefile Shell Elixir
Branch: master
Pull request Compare This branch is 431 commits ahead of JacobSheehy:master.

README.md

pressureNETAnalysis

Web-based data viewer for pressureNET

Local Development Setup

  1. Set up virtualenv (using virtualenvwrapper):

    mkvirtualenv pressurenet
    
  2. Activate virtualenv

    workon pressurenet
    
  3. Install all the local packages using pip:

    pip install -r requirements.txt
    
  4. Copy settings_local.py.ex to settings_local.py and fill in the database settings (database name, username, password).

  5. Create the database and run through the database migrations:

    ./manage.py syncdb && ./manage.py migrate
    
  6. Run the server:

    ./manage.py runserver 0:8000
    

Check out how it looks in your browser: http://localhost:8000/ and http://localhost:8000/admin/

Local Development Setup Using PostgreSQL

Replace the MySQL-Python package in requirements.txt with psycopg2. Make sure the postgresql-server-X.Y-dev package is installed.

Change the database backend from django.db.backends.mysql to django.db.backends.postgresql_psycopg2.

Something went wrong with that request. Please try again.