NTD LF Projections
You need node and npm or yarn to install and run the project locally.
The project uses mapbox for the mapping functionality. To set up the map functionality, create a free mapbox.com account and add the contents of mapbox-style.zip from this repository to the new account.
Generate a mapbox access key and edit the '.env' and a '.env.development' file in the project directory and add your access key in the format: REACT_APP_MAPBOX_ACCESS_TOKEN=YOURKEYHERE to these files.
Then run yarn
or npm install
and yarn start
or npm start
to run the project.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.