Skip to content

loichau1997/hatecrimetracker-frontend

 
 

Repository files navigation

Dev Setup

  1. Install NodeJS and npm Follow instructiion at: https://nodejs.org/

  2. Install Yarn

    npm install --global yarn

  3. Install git (should already be installed on MacOSX)

  4. Clone code from GitHub:

    git clone https://github.com/lima01/hatecrimetracker-frontend.git

  5. Change configuration in hatecrimetracker-frontend/src/configs/appConfig.js

    Make sure api_endpoint: 'https://api.hatecrimetracker.1thing.org'

  6. Under hatecrimetracker-frontend, run:

yarn
yarn start

Deployment

./deploy

  • creates a production build / minified (not needed at this stage)

Other notes

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/

How to contribute

  1. Create your own GitHub account
  2. Fork the repository
  3. Make changes and commit to your forked repository. The changes can be in main or any branches in your own fork.
  4. Create Pull Request from your own fork to https://github.com/lima01/hatecrimetracker-frontend
  5. Wait for reviewer to review and merge the PR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 60.1%
  • JavaScript 36.7%
  • CSS 2.2%
  • Other 1.0%