-
Install NodeJS and npm Follow instructiion at: https://nodejs.org/
-
Install Yarn
npm install --global yarn
-
Install git (should already be installed on MacOSX)
-
Clone code from GitHub:
git clone https://github.com/lima01/hatecrimetracker-frontend.git
-
Change configuration in
hatecrimetracker-frontend/src/configs/appConfig.js
Make sure
api_endpoint: 'https://api.hatecrimetracker.1thing.org'
-
Under hatecrimetracker-frontend, run:
yarn
yarn start
./deploy
- creates a production build / minified (not needed at this stage)
When configure Google Cloud Bucket to hold static files, make sure in the website configuration, set 404 page to index.html too. Otherwise you will get NoKey error when loading any page like /home,/admin, etc.
Vuexy React doc: https://pixinvent.com/demo/vuexy-react-admin-dashboard-template/documentation/
- Create your own GitHub account
- Fork the repository
- Make changes and commit to your forked repository. The changes can be in main or any branches in your own fork.
- Create Pull Request from your own fork to https://github.com/lima01/hatecrimetracker-frontend
- Wait for reviewer to review and merge the PR