create the first admin client

pull/316/head
Cédric Bonhomme 2020-07-27 14:28:28 +02:00
parent 87b07e6584
commit 99bcf94947
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 1 additions and 0 deletions

View File

@ -353,6 +353,7 @@ export STATS_CONFIG=production.py
FLASK_APP=runserver.py poetry run flask db_create
FLASK_APP=runserver.py poetry run flask db_init
FLASK_APP=runserver.py poetry run flask create_client --name ADMIN --role admin
sudo bash -c "cat << EOF > /etc/systemd/system/statsservice.service