Skip to content
Glchriste edited this page Sep 23, 2014 · 1 revision

How to Get the Code Working Out of the Box

###Requirements

  • Django 1.6.5
  • Python 2.7

###Installation

  1. Install Django
  2. Install Django-Bootstrap-3
  3. Install Django-Bootstrap-Calendar (i.e., download, unzip, and run python setup.py install in the terminal)
  4. Install jsmin 2.0.9 (download, unzip, and run python setup.py install in the terminal)

###How to Run

  1. cd into the "Tutoring-Application" folder
  2. Enter python manage.py syncdb into the terminal. Follow the instructions if it's the first time running that command (if so, there won't be a db.sqlite file). You only need to do this once.
  3. Enter python manage.py runserver into the terminal.
  4. Point your browser to http://localhost:8000

Getting Started FAQ

  1. How do I remove all database entries / reset the application? Remove the sqlite file to remove all database entries of the application (however, you will need to run python manage.py syncdb again).
  2. Do I need to run python manage.py syncdb everytime I run the application? No, you only need to run that command once. Once the database is synced, just run python manage.py runserver thereafter to run the application.

Clone this wiki locally