1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 10:34:49 +00:00
This commit is contained in:
aiminick 2021-04-12 02:17:48 +08:00
parent cd798eb9b7
commit 156cfb40dd
22 changed files with 1069 additions and 319 deletions

6
genpass.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
rm -rf webvirtcloud/settings.py
cp -arpf webvirtcloud/settings.py.template webvirtcloud/settings.py
python conf/runit/secret_generator.py
sed -r "s/SECRET_KEY = \"\"/SECRET_KEY = \"`python3 conf/runit/secret_generator.py`\"/" -i webvirtcloud/settings.py; cat webvirtcloud/settings.py|grep SECRET_KEY