|
|
|
# Automatic Setup + Run for Docker deployment
|
|
|
|
|
|
|
|
The 'run.sh' script combines setup, listener and gateway app into one script and is
|
|
|
|
meant to be run in a docker container. The listener and the gateway will be started in daemon mode,
|
|
|
|
to run them in seperately debug mode, see below.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
script/run.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
# Only run the setup script
|
|
|
|
|
|
|
|
```bash
|
|
|
|
start script/setup.pl
|
|
|
|
```
|
|
|
|
|
|
|
|
# Only run the gateway
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
script/plack.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
# Only run the listener
|
|
|
|
|
|
|
|
```bash
|
|
|
|
script/listen.pl
|
|
|
|
```
|
|
|
|
|
|
|
|
# Rebuild caches
|
|
|
|
|
|
|
|
To re-build all caches (database schema definition, errors, saved queries), run this script:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
script/cache_update.pl
|
|
|
|
``` |