mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixes
This commit is contained in:
parent
9ec52806c4
commit
6ac86d3d19
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user