mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
17 lines
609 B
Markdown
17 lines
609 B
Markdown
# Getting started with PowerDNS-Admin
|
|
|
|
|
|
In your FLASK_CONF (check the installation directions for where yours is) file, make sure you have the database URI filled in (in some previous documentation this was called config.py):
|
|
|
|
For MySQL / MariaDB:
|
|
```
|
|
SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name'
|
|
```
|
|
|
|
For Postgres:
|
|
```
|
|
SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin:powerdnsadmin@127.0.0.1/powerdnsadmindb'
|
|
```
|
|
|
|
Open your web browser and go to `http://localhost:9191` to visit PowerDNS-Admin web interface. Register a user. The first user will be in the Administrator role.
|