MapCampus is a web application that visualizes the mapping data collected by the University of Illinois Geographic Information Systems club. Built with a combination of Django, NetworkX, and Tastypie on the backend, and AngularJS and Bootstrap on the frontend.
- Install PostgreSQL
- Will need psycopg2 to work properly with Django.
- Read the PostgreSQL tutorials for your OS of choice to initialize your database.
- Install PostGIS
- Make sure you install the PostGIS extensions in your PostgresSQL database. Topology extensions optional.
- Setup virtualenv and install requirements.
- Follow the virtualenv tutorial to setup a new
env
folder in yourmapcampus
directory. - Run
pip install -r reqs.txt
to install the required python packages.
- Run
syncdb
to create tables for all apps not managed by South.
- Make sure you create a superuser too, even if the admin interface may be removed at a later date.
- Run initial schema migrations.
- Open a terminal and run
python manage.py schemamigration [appname] --initial
for every app you want to initialize.
- Start up Django!
-
Install Testacular
-
Run
testacular mapcampus/static/config/testacular.conf.js
from the project directory.
- Use
testacular-e2e.conf.js
to run end-to-end tests.
Yihua Lou
Varun Goel