managed/ui/README.md
Ensure the Node and NPM version satisfies the version requirement in package.json.
It is recommended to use nvm (https://github.com/nvm-sh/nvm) to manage your node versions.
You can run nvm use under the ui directory to ensure you're running the recommended node version
specified in .nvmrc.
npm ciInstall all the dependencies needed for the project
npm startRuns the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Ensure that the yugaware side is also running using sbt run in ~/code/yugaware directory.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run buildBuilds 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!
The maps in Yugaware are generated using TileMill and mbTiles project and uploaded to S3, from where they are downloaded into /public folder during the build process. To generate your own Map tiles, do the following -