forked from SecureSECO/SecureSECO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·25 lines (19 loc) · 849 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
if [ ! -x "$(command -v docker)" ]; then
echo "Please make sure docker is installed."
exit 0
fi
if [ ! -x "$(command -v docker-compose)" ]; then
echo "Please make sure docker-compose is installed."
exit 0
fi
echo 'Starting up SecureSECO'
# pat=$(echo 'Z2hwX0JSR3UxQjR1eWlKa1RLVFk4ZjI2Q0JZejZHZDduUTJQV3JDOAo=' | base64 -d)
# echo $pat | docker login ghcr.io -u "TrustSECO-Machine-User" --password-stdin
# pull and build docker image dependencies
docker-compose -f docker-compose-deps.yml pull
docker-compose -f docker-compose-deps.yml build
# run docker containers
docker-compose up --build
# This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
# © Copyright Utrecht University (Department of Information and Computing Sciences)