Installation
Step 1 - Create a database
NetRisk is projected to work with MariaDB and the first step is to create a database and a user to connect. We do not include here instructions on how to install or configure MariaDB, but it should be pretty easy to find online.
You will need a database ( you can choose any name here, we selected netriskdb).
To do so, connect to maria db a use:
Now you need to create a user with?
It is also recomended to increase the max-allowed-packet in my.ini
To do so using docker mount a folder in /etc/mysql/conf.d and add a file finishing with .cnf.
The file should contain:
Or add the folling to the command line.
In any case the container should be restarted in the case it already exists.
Step 2 - Install Application - Using Puppet
The module will install the application using docker and download the images.
The best way to configure it is using hiera with these parameters:
Step 3 - Initialize DB
Using the console client, initialize the database with the following command:
Step 4 - Create the first user
Now you need to create your first application user. To do so, use the following command on the console client:
Last updated