mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
updated travis and config_template
This commit is contained in:
parent
91758680f7
commit
63632996db
@ -7,5 +7,7 @@ before_install:
|
|||||||
- 'travis_retry sudo apt-get install python-dev libxml2-dev libxmlsec1-dev'
|
- 'travis_retry sudo apt-get install python-dev libxml2-dev libxmlsec1-dev'
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
before_script:
|
||||||
|
- mv config_template.py config.py
|
||||||
script:
|
script:
|
||||||
- sh run_travis.sh
|
- sh run_travis.sh
|
@ -28,10 +28,10 @@ SQLA_DB_HOST = 'mysqlhostorip'
|
|||||||
SQLA_DB_NAME = 'powerdnsadmin'
|
SQLA_DB_NAME = 'powerdnsadmin'
|
||||||
|
|
||||||
#MySQL
|
#MySQL
|
||||||
SQLALCHEMY_DATABASE_URI = 'mysql://'+SQLA_DB_USER+':'\
|
#SQLALCHEMY_DATABASE_URI = 'mysql://'+SQLA_DB_USER+':'\
|
||||||
+SQLA_DB_PASSWORD+'@'+SQLA_DB_HOST+'/'+SQLA_DB_NAME
|
# +SQLA_DB_PASSWORD+'@'+SQLA_DB_HOST+'/'+SQLA_DB_NAME
|
||||||
#SQLite
|
#SQLite
|
||||||
#SQLALCHEMY_DATABASE_URI = 'sqlite:////path/to/your/pdns.db'
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///pdns.db'
|
||||||
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
|
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
|
||||||
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user