- Install Node.js
- Clone this repository
git clone https://github.com/agrc/wfrc-bike-map
- Change to the directory
cd wfrc-bike-map
- Install the dependencies
npm install
- Switch to
dev
branchgit switch dev
- Create a new branch
git switch -c feature/your-feature-name
orgit switch -c fix/your-bug-name
Execute npm start
to start a web server and view the website
Run npm test
to run the unit tests
Run npm run format
to format the code
Run npm run lint
to lint the code
Make commits following the Angular Conventional Commits Format. This will allow the automated change log to work correctly.
Once you have committed your updates, push your branch to GitHub and create a pull request against the dev
branch. This will trigger a GitHub Action to run the tests and linting and deploy your version to a firebase preview channel for review.
One-time tasks:
- Update the analytics code in
index.html
This website is tested and deployed with GitHub Actions.