The server portion of the application needs access to an APP_SECRET
environmental variable.
For local development you may choose any string.
It is required for generating authentication tokens.
This app is hosted on AWS through the UW ACS gmail account. Follow the steps below to manually deploy the app:
-
Download the
acs-website.pem
from the ACS Google Drive at/Website/Keys
. -
Edit permission of the downloaded file with
chmod 400 acs-website.pem
. -
SSH into the ec2 instance. With the downloaded key in the working directory, on mac or linux you can run
ssh -i "acs-website.pem" ec2-user@uwacs.club
. -
Run
deploy.sh
in the scripts folder:./scripts/deploy.sh
.
This will deploy the latest remote changes for the current branch.
If the current branch is not master
, the script will display a warning and proceed with the deployment after 3 seconds.