This commit is contained in:
krateng 2021-12-31 21:48:42 +01:00
parent 9ec52806c4
commit 6ac86d3d19
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,14 @@
#!/usr/bin/env bash
apk add python3 python3-dev imagemagick tzdata gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers
apk add \
python3 \
gcc \
libxml2-dev \
libxslt-dev \
libffi-dev \
libc-dev \
py3-pip \
linux-headers \
tzdata \
vips
pip3 install wheel
pip3 install malojaserver

View File

@ -66,7 +66,7 @@ def setup():
newpw = prompt("Please set a password for web backend access. Leave this empty to generate a random password.",skip=SKIP,secret=True)
if newpw is None:
newpw = randomstring(32)
print("Generated password:",newpw)
print("Generated password:",col["yellow"](newpw))
auth.defaultuser.setpw(newpw)