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/1thing-org/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
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/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node@14
export PATH=/opt/homebrew/bin:$PATH
export PATH="/opt/homebrew/opt/node@14/bin:$PATH"
chmod +x ~/.zshrc
npm install yarn
yarn; yarn start