Skip to content
Ann Arbor Ultimate League Web Application
Python HTML CSS JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
docs
src
.csscomb.json
.gitignore
.pylintrc
LICENSE
README.md

README.md

ultimate-league-app

Ultimate Frisbee League Web Application

Install Development Environment

Start in the root of ultimate-league-app

./bin/mkvenv.sh dev
cd src/
npm install
cp ultimate/settings/base.py.dist base.py
cp ultimate/settings/dev.py.dist dev.py

You will then want to update the base.py and dev.py. Mainly, you need your database credentials. Other stuff toward the bottom is necessary for full functionality (e.g. Google Cal, PayPal, etc.).

Run the Development Environment

Again from the the root of ultimate-league-app, you will use two different terminal tabs/windows for this:

source env/dev/bin/activate
cd src/
./manage.py runserver_plus
cd src/
npm run dev

Update a Production Environment

Once you are deployed in production, you can pull new code and update with the following:

git pull
source env/prod/bin/activate
cd src/
pip install -r requirements/prod.txt
./manage.py migrate
npm run build
./manage.py collectstatic

Then, you will want to restart your server service.

You can’t perform that action at this time.