Add chown to setup

This commit is contained in:
Kumi 2019-01-25 21:01:50 +00:00
parent 9c0c07f561
commit aa2dd01e24
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ npm run build
cd ../..
./manage.py collectstatic
./manage.py migrate
sudo chown vpn.vpn . -R
sudo cp misc/vpnmanager.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable vpnmanager

View file

@ -9,7 +9,7 @@ SECRET_KEY = '=go8&h#^kh6ksr11e2z-@4qqd6t%63$x#-!s#l_yhw@oyanrys'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ["admin360.kumi.host"]
ALLOWED_HOSTS = ["admin360.kumi.host", "test360.kumi.host"]
TWO_FACTOR_CALL_GATEWAY = None
TWO_FACTOR_SMS_GATEWAY = "two_factor.gateways.twilio.gateway.Twilio"