To install Refundable git
is required (further instructions can be viewed here)
mkdir refundable
cd refundable
git clone https://github.com/refundable-tgm/install .
sudo chmod +x refundable.sh
Another way to install Refundable is to download the latest release of this repository. The releases can be found here.
The downloaded archive is then unpacked using either the command unzip <file>
or tar xfv <file>
depending on which archive was downloaded.
To make the unpacked script then executable the following command must be executed:
sudo chmod +x refundable.sh
To install the required files the script has to be executed as follows:
./refundable.sh install -d
If Docker and Docker-Compose are already installed, you are strongly advised to omit the -d
flag (more here). Leaving you with the following command:
./refundable.sh install
To download repositories via git clone
, git
has to be installed. For the uncommon case that git
is not preinstalled on your local machine, you can easily install it using the following commands:
sudo apt update
sudo apt install git
The following subcommands are available, when using the refundable.sh
script:
Subcommand | Description |
---|---|
install | installs refundable on this machine |
install [-d] | if the '-d' flag is provided, docker will be installed |
start | starts the application |
stop | stops the application |
restart | restarts the application |
update | updates all components of refundable (incl. restart) |
clean | cleans all dangling components |
purge | removes refundable completely |
uninstall | alias to purge |
During the installing process, the script will prompt for user credentials (see here) and will download repositories containing the source code of the back- and frontend.
These repositories are the following: