Forked from https://git.taler.net/sandcastle-ng.git/tree/
- Open the system's application menu.
- Search for the "Terminal" application.
- Click on the terminal application icon to open it.
In the terminal, install Podman and Vim (a CLI text editor if you don't already have one):
apt install podman vim
Navigate to the user's personal space and create a new folder for the project:
cd ~
mkdir GNU_Taler_Sandcastle
cd GNU_Taler_Sandcastle
Download the Git repository of the Sandcastle project and enter the directory:
git clone https://git.taler.net/sandcastle-ng.git
cd sandcastle-ng
Access the configuration directory and list the .tag
files:
cd buildconfig
ls -l *tag
Use the find
command to display the content of each .tag
file (ensure each file has a version as content, changing theses is beyond the scope of this README):
find . -type f -name "*.tag" -exec sh -c 'echo "==== {} ===="; cat {}' \;
./print-latest-versions
./print-component-versions
Return to the project root:
cd ..
Launch the construction of the container image and wait for the compilation to finish:
./sandcastle-build
podman images
Open and modify scripts/demo/setup-sandcastle.sh
to define the currency used:
vim scripts/demo/setup-sandcastle.sh
Also adjust sandcastle-run
to configure the ports:
vim sandcastle-run
Launch the container in the background and check its operation:
./sandcastle-run -d
podman ps
podman port taler-sandcastle
Enter the container to access an internal shell and test the interfaces:
./sandcastle-enter
Inspect the data volume and stop the container:
podman volume inspect talerdata
podman stop taler-sandcastle
To restart, use:
podman stop taler-sandcastle
podman start taler-sandcastle
podman restart taler-sandcastle