Change to your GOPATH
, for example on Windows:
$ cd C:\Users\YOURUSERNAME\go\src\github.com\Donders-Institute
Obtain the source code:
$ git clone https://github.com/Donders-Institute/hpc-qaas.git
Go into the directory:
$ cd hpc-qaas
Go to the configs
folder,
copy the qaas-database.env.example
file to qaas-database.env
,
and change the contents:
# Qaas server settings
QAAS_HOST=qaas.dccn.nl
QAAS_INTERNAL_PORT=5111
QAAS_EXTERNAL_PORT=443
HOME_DIR=/home
DATA_DIR=/data
PRIVATE_KEY_FILE=/run/secrets/qaas_private_key
PUBLIC_KEY_FILE=/run/secrets/qaas_public_key
# Relay computer node settings
RELAY_NODE=relaynode.dccn.nl
# Database settings
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=someuser
POSTGRES_PASSWORD=somepassword
POSTGRES_DATABASE=somedatabasename
PGDATA=/data/postgres
Run the generate-keys.sh
script in the scripts
folder.
Run the start.sh
script in the scripts
folder.
Run the start_test.sh
script in the test/scripts
folder.