powerdns-admin/docs/wiki/configuration/Getting-started.md

17 lines
609 B
Markdown
Raw Normal View History

2022-12-09 01:47:28 +00:00
# Getting started with PowerDNS-Admin
2022-12-09 03:11:04 +00:00
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):
2022-12-09 02:02:37 +00:00
For MySQL / MariaDB:
```
SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name'
```
2022-12-09 01:47:28 +00:00
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.