omwah / expo_track

Flask application for tracking physical items during an exposition or convention

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo Track

A web application of tracking the usage of physical items during conferences and expo by support staff.

Setup

Create a Python virtual environment:

$ virtualenv env/

Load environment:

$ source env/bin/activate

Install requirements:

$ pip install -r requirements.txt

Initialize database:

$ python manage.py initdb

Load example data:

$ python example_data.py

Ensure development server works:

$ python manage.py runserver

Installation

Install nginx (Ubuntu / Debian):

$ apt-get install nginx uwsgi uwsgi-plugin-python

Install server configs:

rm /etc/nginx/sites-enabled/default
cp server/nginx.conf /etc/nginx/sites-enabled/expo_track
cp server/uwsgi.ini /etc/uwsgi/apps-enabled/expo_track.ini

Edit the configs you just copied modifying directory variables so they point to the path where you deployed expo_track.

Restart nginx and uwsgi.

About

Flask application for tracking physical items during an exposition or convention


Languages

Language:JavaScript 68.5%Language:CSS 14.4%Language:Python 10.4%Language:HTML 6.6%Language:Nginx 0.1%