The Visual Analytics Environment for the Dynamic Risk Management Platform of the EU H2020 PANACEA research project.
The environment requires Docker, Docker Compose and some modules of the platform (more information coming soon) to work properly.
A set of scripts (available at bin/) are provided to develop and deploy the environment.
Create the configuration files for production in conf/ copying all the *dev*
files, renaming the copies to *prod*
and updating their content (e.g., duplicate db.dev.env
, rename the copy to db.prod.env
and update its content).
Available scripts:
- bin/pull.sh - pulls the needed Docker images
- bin/build.sh - builds the Docker containers
- bin/install.sh - installs the Node dependencies of the two main containers (required every time that their dependencies are updated); the first installation can take a long time
- bin/start.sh - runs the environment in development mode
Available scripts:
- bin/pack.sh - packs the environment for production in standalone mode into the
dist
folder - bin/serve.sh - runs the environment in production mode in standalone mode
Create Dockerfile
and run.sh
files duplicating deploy/Dockerfile and deploy/run.sh and update their environment variables (this mode doesn't use Docker Compose).
Available scripts:
- bin/deploy.sh - packs the environment for production in integrated mode into the
deploy
folder - deploy/run.sh - runs the environment in production mode in integrated mode
Available scripts:
- bin/stop.sh - stops and removes all the containers of the environment (both for development and production modes)
- bin/uninstall.sh - uninstalls the environment and remove the generated Docker images