Newer
Older
This is a repository for quickly having an instance of ESAP up & running. Batteries included.
## Quickstart
Requirements:
Bash and Docker.
Setup
$ esap/setup
Build
$ esap/build
Run
$ esap/run
Popluate with demo data
Stefano Alberto Russo
committed
Head to https://localhost
Stefano Alberto Russo
committed
### Development mode
To get live code changes in the ESAP API gateway service, clone the source code repo in its folder (so that it will be located in `services/api-gateway/esap-api-gateway`), then uncomment the "volumes" section for the `api-gateway` service in the `docker-compose.yml` file and restart.
Stefano Alberto Russo
committed
To get live code changes in the ESAP GUI service, clone the source code repo in its folder (so that it will be located in `services/gui/esap-gui`), then uncomment the "volumes" section for the `gui` service in the `docker-compose.yml` file and restart. NOTE: this procedure is still to be tested and still requires recompiling the fronted.
List all running services
# esap/ps
View logs
$ esap/logs
Open a shell in a service
# esap/shell service_name
Stefano Alberto Russo
committed
Build a specific service
# esap/build service_name
Run a specific service
# esap/run service_name
View logs of a specific service
# esap/logs service_name