Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.22 KB

install.md

File metadata and controls

58 lines (43 loc) · 1.22 KB

QaaS Installation Instructions

Obtain the source code

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

Configuration

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

Generate the server SSH keys

Run the generate-keys.sh script in the scripts folder.

Start the services

Run the start.sh script in the scripts folder.

Run the tests

Run the start_test.sh script in the test/scripts folder.