apt-get update -yqq
apt-get install -yqq python3-pip
pip3 install pipenv
- Replace the variables inside
etc/.env.compose-full
with the correct values - Deploy using docker compose and the
etc/compose-full.yml
configuration
docker compose -f etc/compose-full.yml --env-file etc/.env.compose-full -p ui up
- Inside
etc/.env.compose-full
uncomment the following variablesLDAP_SERVER_URI
,LDAP_USER_TREE
andLDAP_USER_FILTER
- Set their values appropriately:
LDAP_SERVER_URI
- the LDAP server URILDAP_USER_TREE
- the subtree where the users resideLDAP_USER_FILTER
- a user's unique identifier (if the primary key isuid
then the variable must be set to(uid=%(user)s)
)
NOTE: By default the LDAP support is not activated
By default a user admin (password: admin) will be created along with a dummy assignment.
You can visit the website by going to http://localhost:7000/
.
To change the assignment go to http://localhost:7000/admin/
and log in as the admin.
Next by clicking the assignments tab and then choosing one of the results you can edit that assignment.
- Replace the variables inside
etc/.env.compose-nginx
with the correct values - Place the certificate (*.key and *.pem files) inside
etc/cert/
. They must be saved as certificate.pem - Deploy using docker compose the the
compose-nginx.yml
configuration
docker compose -f etc/compose-nginx.yml --env-file etc/.env.compose-nginx -p nginx-ui up
Run:
pipenv run {docker-compose-dev|docker-compose-prod} up
If you have an existing vmck backend point the VMCK_BACKEND_URL
variable in the correspoding development or production environment file found in ./etc
to the correct URL.
If not follow this quick setup.
To create a dummy assignment and an admin account (user: admin, password: admin) run:
pipenv run docker-compose-fill-data
To properly set up the assignment:
- Go to
http://localhost:7000/admin
. - Login with the admin account
- Select the
Assignemnts
tab on the left side - Click on
ShortName
- Update the gitlab private token and the project id.