- Your node version should match the version specified in
.nvmrc
(if you are using nvm, you can runnvm use
) - Install dependencies:
npm install
- Add an
.env
file inside the root directory and provide the following values:
MAP_TOKEN=[MapboxTokenHere]
MAP_STYLE=[MapboxStyleHere]
Builds the application and starts a webserver with hot loading. Runs on localhost:8080
npm run start
Builds a minified version of the application in the build folder.
npm run build