File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ if [ -z "$(ls -A /workspaces/web-api/data/grampsdb)" ]; then
16
16
gramps -C Gramps\ Web -i /usr/local/share/doc/gramps/example/gramps/example.gramps --config=database.backend:sqlite --config=database.path:/workspaces/web-api/data/grampsdb
17
17
mkdir -p /workspaces/web-api/data/media
18
18
cp -a /usr/local/share/doc/gramps/example/gramps/. /workspaces/web-api/data/media/
19
+
20
+ python3 -m gramps_webapi user add owner owner --fullname Owner --role 4 \
21
+ && python3 -m gramps_webapi user add editor editor --fullname Editor --role 3 \
22
+ && python3 -m gramps_webapi user add contributor contributor --fullname Contributor --role 2 \
23
+ && python3 -m gramps_webapi user add member member --fullname Member --role 1
19
24
else
20
25
echo " Database directory already contains data, skipping initialization"
21
26
fi
22
-
23
- python3 -m gramps_webapi user add owner owner --fullname Owner --role 4 \
24
- && python3 -m gramps_webapi user add editor editor --fullname Editor --role 3 \
25
- && python3 -m gramps_webapi user add contributor contributor --fullname Contributor --role 2 \
26
- && python3 -m gramps_webapi user add member member --fullname Member --role 1
You can’t perform that action at this time.
0 commit comments