diff options
Diffstat (limited to 'sandcastle-ng/README.md')
-rw-r--r-- | sandcastle-ng/README.md | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sandcastle-ng/README.md b/sandcastle-ng/README.md index 85caa2d..01339d0 100644 --- a/sandcastle-ng/README.md +++ b/sandcastle-ng/README.md @@ -29,7 +29,7 @@ Currently there is not much configuration. The main adjustments to be made are: -* scripts/setup-sandcastle.sh has the currency on top of the file +* scripts/demo/setup-sandcastle.sh has the currency on top of the file * sandcastle-run has variables for the port that'll be exposed ("published") on the host. They can be overwritten with environment variables (``TALER_SANDCASTLE_PORT_$COMPONENT``). @@ -82,15 +82,24 @@ That volume also contains the postgres database files. # Provisioning Details -The whole deployment is configured by the script ``scripts/setup-sandcastle.sh``. +The whole deployment is configured by the script ``/provision/setup-sandcastle.sh``. This script will be run as a oneshot systemd service and will disable itself after the first success. To troubleshoot, run ``journalctl -u setup-sandcastle.service``. -To run the container without any automatic provisioning, run ``./sandcastle-run -e SANDCASTLE_SKIP_SETUP=1``. +There are different setup scripts in the ``scripts/$SANDCASTLE_SETUP_NAME`` +folders. Specifically: -You can always manually run the script inside the container as ``/scripts/setup-sandcastle.sh``. +* ``none`` does no setup at all +* ``demo`` is the usual Taler demo +* TBD: ``regio`` is a currency conversion setup + +By default, ``demo`` is used. To mount a different provision script, set ``$SANDCASTLE_SETUP_NAME`` +when running ``./sandcastle-run``. + +You can always manually run the provisioning script inside the container as +``/scripts/$SANDCASTLE_SETUP_NAME/setup-sandcastle.sh``. # Neat Things That Already Work |