forked from cs3org/ocm-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitpod-init.sh
executable file
·23 lines (17 loc) · 1000 Bytes
/
gitpod-init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -e
REPO_ROOT=`pwd`
git clone --branch=main https://github.com/pondersource/nc-sciencemesh
git clone --branch=main https://github.com/pondersource/oc-sciencemesh
git clone --branch=efss-backend-fixes https://github.com/cs3org/reva
git clone --branch=main https://github.com/michielbdejong/ocm-stub
/bin/bash ./gencerts.sh
/bin/bash ./rebuild.sh
docker run -v $REPO_ROOT/ocm-stub:/ocm-stub stub npm install
docker run -v $REPO_ROOT/reva:/reva \
-e"PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
--workdir /reva revad bash -c "git config --global --add safe.directory /reva && make build-revad && make build-reva"
docker run -v $REPO_ROOT/nc-sciencemesh:/var/www/html/apps/sciencemesh --workdir /var/www/html/apps/sciencemesh nc1 make composer
docker run -v $REPO_ROOT/oc-sciencemesh:/var/www/html/apps/sciencemesh --workdir /var/www/html/apps/sciencemesh oc1 make composer
docker pull jlesage/firefox:v1.17.1
docker pull mariadb:latest