Remove TODO and add setup of first user.

This commit is contained in:
David Mc Ken 2022-12-09 06:46:02 -04:00
parent 4864bff51d
commit 496222e6b7

View File

@ -3,8 +3,6 @@
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): 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):
TODO: list location of config.py
For MySQL / MariaDB: For MySQL / MariaDB:
``` ```
SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name' SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/db_name'
@ -15,3 +13,4 @@ For Postgres:
SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin:powerdnsadmin@127.0.0.1/powerdnsadmindb' 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.