mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Spelling fixes
This commit is contained in:
parent
f95adf3ea3
commit
ee73bb181f
@ -24,7 +24,7 @@ There are several ways to run PowerDNS-Admin. Following is a simple way to start
|
||||
|
||||
Step 1: Changing configuration
|
||||
|
||||
The configuration file for developement environment is located at `configs/development.py`, you can override some configs by editing `.env` file.
|
||||
The configuration file for development environment is located at `configs/development.py`, you can override some configs by editing the `.env` file.
|
||||
|
||||
Step 2: Build docker images
|
||||
|
||||
@ -86,7 +86,7 @@ someuser@somehost:~$echo -n 'admin:admin'|base64
|
||||
YWRtaW46YWRtaW4=
|
||||
```
|
||||
|
||||
we use generated output in basic authentication, we auhtenticate as user,
|
||||
we use generated output in basic authentication, we authenticate as user,
|
||||
with basic authentication, we can create/delete/get zone and create/delete/get/update apikeys
|
||||
|
||||
creating domain:
|
||||
|
@ -58,7 +58,7 @@ paths:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: An server
|
||||
description: A server
|
||||
schema:
|
||||
$ref: '#/definitions/Server'
|
||||
|
||||
|
@ -42,7 +42,7 @@ if [ ! -d "${DB_MIGRATION_DIR}" ]; then
|
||||
else
|
||||
echo "---> Running DB Migration"
|
||||
set +e
|
||||
flask db migrate -m "Upgrade BD Schema" --directory ${DB_MIGRATION_DIR}
|
||||
flask db migrate -m "Upgrade DB Schema" --directory ${DB_MIGRATION_DIR}
|
||||
flask db upgrade --directory ${DB_MIGRATION_DIR}
|
||||
set -e
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""Upgrade BD Schema
|
||||
"""Upgrade DB Schema
|
||||
|
||||
Revision ID: 654298797277
|
||||
Revises: 31a4ed468b18
|
||||
|
@ -91,7 +91,7 @@ def initial_data():
|
||||
msg = admin_user.create_local_user()
|
||||
|
||||
if not msg:
|
||||
raise Exception("Error occured creating user {0}".format(msg))
|
||||
raise Exception("Error occurred creating user {0}".format(msg))
|
||||
|
||||
ordinary_user = User(
|
||||
username=test_user,
|
||||
@ -101,7 +101,7 @@ def initial_data():
|
||||
msg = ordinary_user.create_local_user()
|
||||
|
||||
if not msg:
|
||||
raise Exception("Error occured creating user {0}".format(msg))
|
||||
raise Exception("Error occurred creating user {0}".format(msg))
|
||||
|
||||
except Exception as e:
|
||||
logging.error("Unexpected ERROR: {0}".format(e))
|
||||
|
Loading…
Reference in New Issue
Block a user