This project was bootstrapped with Create React App.
Setup
- Install LTS version of NodeJS (v18) https://nodejs.org/en/download/ (which installs
npm
)
- Clone this repo, and in repo root, run
npm install
(may take a while)
- If the last step worked with no error, run
npm start
(local server will open on http://localhost:3000/)
Workflow
- Make sure you are on the latest copy of master (i.e
git checkout master
, git pull
)
- Make a new branch for your feature
git checkout -b <YOUR_NAME>/<FEATURE_NAME>
(i.e logan/team-pictures
)
- When the feature is done, open a pull request from your branch to master
Deployment
- Clone this repo, pull latest state of
master
branch
- Run the command
npm run deploy
- If the previous step works and https://subbots.ca/#/ doesn't work, go to the repo in GitHub, then go to
Settings > Pages > Custom domain
and enter subbots.ca
as the custom domain