This project was bootstrapped with Create React App.
You can find the most recent version of the create react app guide here.
-
Install brew
-
Install yarn (run
brew install yarn
) -
Clone the repo
-
Install dependencies (run
yarn
)
- Just the front end: run
yarn start
- From the server: run `yarn server'
- The app is built to be easily deployed via cdn.
- If you push a branch to github, netlify will build you a branch preview (look for the netlify integration on a pull request)
- When you merge to master, netlify builds to the dev server (https://take-back-day.netlify.com/)
- For more info about deployment, look in the deploy readme.
- This app imports the map from another repo (https://github.com/ProgressiveHackNight/take-back-day-mapping) by installing directly from git (https://stackoverflow.com/questions/23210437/npm-install-private-github-repositories-by-dependency-in-package-json)
- To update the map, you must follow instructions in the map repo for updating, then grab the commit hash for your updated verion, and replace the hash in the package.json of this app that specifies which commit-ish to install (everything after the #)