Ultimate Frisbee League Web Application
Start in the root of ultimate-league-app
./bin/mkvenv.sh dev
cd src/static
npm installAgain 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_pluscd src/static
npm run devOnce you are deployed in production, you can pull new code and update with the following:
git pull
source venv/prod/bin/activate
cd src/
pip install -r requirements/prod.txt
./manage.py migrate
cd static/
npm run build
cd ..
APP_RUNMODE=prod ./manage.py collectstaticDo not forget to check for settings changes!
Then, you will want to restart your server service.