Compare commits
No commits in common. "8d214d1a9105a9f0350e3d15cdd0d0d94940aefa" and "b86a159faa074c9b98c3bc1bfe890c1564519c4d" have entirely different histories.
8d214d1a91
...
b86a159faa
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,6 +1,2 @@
|
||||||
/.idea
|
/.idea
|
||||||
/build
|
/build
|
||||||
|
|
||||||
### Composer ###
|
|
||||||
composer.phar
|
|
||||||
/vendor
|
|
||||||
|
|
1561
composer.lock
generated
1561
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
IFS=$'\n\t'
|
|
||||||
|
|
||||||
DIR="${0%/*}"
|
|
||||||
docker rm -f nextcloud
|
|
||||||
docker run -d --name=nextcloud -p 8080:80 -v "${PWD}:/var/www/html/custom_apps/upschooling" docker.io/nextcloud
|
|
||||||
docker exec nextcloud chown -R 33 /var/www/html/custom_apps
|
|
||||||
docker exec nextcloud chmod -R ug+rw /var/www/html/custom_apps
|
|
||||||
docker exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make'
|
|
||||||
docker exec --user 33 nextcloud php occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "admin"
|
|
||||||
docker exec --user 33 nextcloud php occ config:system:set --value=true --type=boolean debug
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
IFS=$'\n\t'
|
|
||||||
|
|
||||||
DIR="${0%/*}"
|
|
||||||
|
|
||||||
podman unshare -- chown -R 33 "$DIR"
|
|
||||||
podman unshare -- chgrp -R 0 "$DIR"
|
|
||||||
podman unshare -- chmod -R ug+rw "$DIR"
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ IFS=$'\n\t'
|
||||||
DIR="${0%/*}"
|
DIR="${0%/*}"
|
||||||
|
|
||||||
podman run -d --name=nextcloud --replace=true -p 8080:80 -v "$DIR:/var/www/html/custom_apps/upschooling" docker.io/nextcloud
|
podman run -d --name=nextcloud --replace=true -p 8080:80 -v "$DIR:/var/www/html/custom_apps/upschooling" docker.io/nextcloud
|
||||||
podman exec nextcloud chown -R 33 /var/www/html/custom_apps
|
podman exec nextcloud chown 33 /var/www/html/custom_apps
|
||||||
"$DIR/podman-reown.sh"
|
podman unshare chown -R 33 -R "$DIR"
|
||||||
podman exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make'
|
podman unshare chmod -R ug+rw "$DIR"
|
||||||
podman exec --user 33 nextcloud php occ config:system:set --value=true --type=boolean debug
|
|
||||||
|
|
Loading…
Reference in a new issue