Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

sunlightlabs/sunlightacademy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunlight Academy

Sunlight Foundation's training and webinar platform.

Installation

  1. Install dependecies.

     pip install -r requirements.txt
    
  2. Create environment file and set required values. DATABASE_URL should be in the Heroku format expected by dj-database-url.

     cp env.example .env
    
  3. Create database and tables. When prompted, create a superuser account.

     python manage.py syncdb
     python manage.py migrate
    
  4. Run it. We highly recommend using foreman.

     foreman start