Skip to content

Trade School is an alternative school that runs on barter

License

Notifications You must be signed in to change notification settings

brittanyukulele/tradeschool

 
 

Repository files navigation

Trade School Everywhere

Travis Build Status

Installation

Setup is done using buildout. There is a base configuration file base.cfg that is extended for installing on different environments:

  1. development.cfg
  2. testing.cfg
  3. server.cfg

When installing locally, use development.cfg. Otherwise, fab is used to install the project remotely automatically.

To install locally:

./dev/setup_dev.sh

To run locally:

./bin/django runserver

To run tests:

./bin/django test tradeschool -v 2

To install remotely:

  1. $ cp fab_config.py.sample fab_config.py
  2. edit fab_config.py with testing and/or production domains
  3. edit settings/testing.py and/or settings/server.py with database info and local paths
  4. $ ./bin/fab <testing|production> initialize_everything
  5. $ ./bin/fab <testing|production> deploy

About

Trade School is an alternative school that runs on barter

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 64.0%
  • HTML 16.5%
  • JavaScript 13.5%
  • CSS 5.8%
  • Shell 0.2%