mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-22 02:24:56 +00:00
6 lines
318 B
Bash
Executable file
6 lines
318 B
Bash
Executable file
#!/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
|