Skip to content

nickweinberg/GolfMeetBeta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GolfMeet Beta

Quick Start

Set Environment Variables

Update config.py, and then run:

$ export APP_SETTINGS="project.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.config.ProductionConfig"

Create DB

$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py create_admin
$ python manage.py create_data

Run the Application

$ python manage.py runserver

Install node_modules

$ cd project/static/js/
$ npm install webpack -g
$ npm install

Webpack Transform JSX

$ cd project/static/js/
$ webpack --watch

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov