mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Read app port from config.py
This commit is contained in:
parent
b0e3e6a911
commit
e1e1b1d9bd
@ -30,7 +30,7 @@ MariaDB [(none)]> GRANT ALL PRIVIELGES ON powerdnsadmin.* TO powerdnsadmin@'%' I
|
||||
|
||||
### PowerDNS-Admin
|
||||
|
||||
In this installation guide, I am using CentOS 7 and run my pythong stuffs with *virtualenv*. If you don't have it, let install:
|
||||
In this installation guide, I am using CentOS 7 and run my python stuffs with *virtualenv*. If you don't have it, let install:
|
||||
```
|
||||
$ sudo yum install python-pip
|
||||
$ sudo pip install virtualenv
|
||||
|
@ -4,6 +4,7 @@ basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
# BASIC APP CONFIG
|
||||
WTF_CSRF_ENABLED = True
|
||||
SECRET_KEY = 'We are the world'
|
||||
PORT = 9393
|
||||
|
||||
# LOG CONFIG
|
||||
LOG_LEVEL = 'DEBUG'
|
||||
|
Loading…
Reference in New Issue
Block a user