Web-based data viewer for pressureNET
JavaScript Python CSS HTML Makefile Shell Elixir
Switch branches/tags
pressurenET-server-1.0.22RC pressurenET-server-1.0.9STABLE pressureNET-server-1.1.12STABLE pressureNET-server-1.1.12RC pressureNET-server-1.1.11STABLE pressureNET-server-1.1.11RC pressureNET-server-1.1.10STABLE pressureNET-server-1.1.10RC pressureNET-server-1.1.9STABLE pressureNET-server-1.1.9RC pressureNET-server-1.1.8STABLE pressureNET-server-1.1.8RC pressureNET-server-1.1.7STABLE pressureNET-server-1.1.7RC pressureNET-server-1.1.6STABLE pressureNET-server-1.1.6RC pressureNET-server-1.1.5STABLE pressureNET-server-1.1.5RC pressureNET-server-1.1.4STABLE pressureNET-server-1.1.4RC pressureNET-server-1.1.3STABLE pressureNET-server-1.1.3RC pressureNET-server-1.1.2STABLE pressureNET-server-1.1.2RC pressureNET-server-1.1.1RC pressureNET-server-1.1.0STABLE pressureNET-server-1.1.0RC pressureNET-server-1.0.25STABLE pressureNET-server-1.0.25RC pressureNET-server-1.0.24STABLE pressureNET-server-1.0.24RC pressureNET-server-1.0.23STABLE pressureNET-server-1.0.23RC pressureNET-server-1.0.22STABLE pressureNET-server-1.0.22RC pressureNET-server-1.0.21STABLE pressureNET-server-1.0.21RC pressureNET-server-1.0.20STABLE pressureNET-server-1.0.20RC pressureNET-server-1.0.19STABLE pressureNET-server-1.0.19RC pressureNET-server-1.0.18STABLE pressureNET-server-1.0.18RC pressureNET-server-1.0.17STABLE pressureNET-server-1.0.17RC pressureNET-server-1.0.16STABLE pressureNET-server-1.0.16RC pressureNET-server-1.0.15STABLE pressureNET-server-1.0.15RC pressureNET-server-1.0.14STABLE pressureNET-server-1.0.14RC pressureNET-server-1.0.13STABLE pressureNET-server-1.0.13RC pressureNET-server-1.0.12STABLE pressureNET-server-1.0.12RC pressureNET-server-1.0.11STABLE pressureNET-server-1.0.11RC pressureNET-server-1.0.10STABLE pressureNET-server-1.0.10RC pressureNET-server-1.0.9RC pressureNET-server-1.0.8STABLE pressureNET-server-1.0.8RC pressureNET-server-1.0.7RC pressureNET-server-1.0.6STABLE pressureNET-server-1.0.6RC pressureNET-server-1.0.5STABLE pressureNET-server-1.0.5RC pressureNET-server-1.0.4STABLE pressureNET-server-1.0.4RC pressureNET-server-1.0.3STABLE pressureNET-server-1.0.3RC pressureNET-server-1.0.2STABLE pressureNET-server-1.0.2RC pressureNET-server-1.0.1STABLE pressureNET-server-1.0.1RC pressureNET-server-1.0.0STABLE pressureNET-server-1.0.0RC pressureNET-1.0.7STABLE
Nothing to show
Pull request Compare This branch is 431 commits ahead of JacobSheehy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ebextensions
.elasticbeanstalk
blog
customers
home
readings
served
static
tasks
templates
utils
worker
.gitignore
Gruntfile.js
LICENSE
README.md
__init__.py
dashboard.py
manage.py
package.json
requirements.txt
requirements_dev.txt
settings.py
settings_local.py.ex
urls.py
wsgi.py

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.