The AROSS Observation Map displays rain-on-snow event observations sourced from the LEO Network on an interactive map.
Start the application anywhere with Docker and docker-compose
. This
configuration gives you an application running at port 80 with source code
hot-reloading. Because the source code is volume-mounted, you can edit the
source code on the host and see changes reflected in the server run by Docker.
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build
Alternatively:
ln -s docker-compose.dev.yml docker-compose.override.yml
docker-compose up --build
Runs the app in the development mode on port 3000. Your browser should 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.
Manually triggers ESLint static analysis with type-aware linting thanks to the
typescript-eslint
plugin.
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.
The app can be deployed with:
docker-compose -f docker-compose.yml -f docker-compose.live.yml up --build -d
Alternatively:
ln -s docker-compose.live.yml docker-compose.override.yml
docker-compose up --build -d
WARNING:The script at deploy/deploy
is not tested for your infrastructure.
Use it at your own risk!