Ultimate Frisbee League Web Application
Start in the root of ultimate-league-app
./bin/mkvenv.sh dev
cd src/static
npm install
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
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.