a2ultimate / ultimate-league-app

Ann Arbor Ultimate League Web Application

Home Page:https://annarborultimate.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/static
npm install

Run the Development Environment

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

source venv/dev/bin/activate
cd src/
./manage.py runserver_plus
cd src/static
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
cd static/
npm run build
./manage.py collectstatic

Do not forget to check for settings changes!

Then, you will want to restart your server service.

About

Ann Arbor Ultimate League Web Application

https://annarborultimate.org

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 58.2%Language:HTML 29.7%Language:SCSS 10.2%Language:JavaScript 1.7%Language:Shell 0.2%