summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDashie <dashie@sigpipe.me>2019-09-30 08:40:33 +0200
committerDashie <dashie@sigpipe.me>2019-09-30 08:40:33 +0200
commit36e737cbbdc390f9c891a3d31896ec62e11b9d76 (patch)
treeb6a45b70726ea72293ca2b3b52491b37bd8cde7f /docs
parentb2783ab19ef884371f70c21d045ad5b7c6325286 (diff)
Reorganise commands in a folder properly
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/docker.rst4
-rw-r--r--docs/installation/linux.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/installation/docker.rst b/docs/installation/docker.rst
index d436de26..fbd53ef8 100644
--- a/docs/installation/docker.rst
+++ b/docs/installation/docker.rst
@@ -100,13 +100,13 @@ Run the database container and the initial migrations and database seeds:
docker-compose up -d postgres
docker-compose run --rm api psql -U postgres -h postgres -w -c 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp";' postgres
docker-compose run --rm api flask db upgrade
- docker-compose run --rm api flask seed
+ docker-compose run --rm api flask db-datas 000-seeds
Create your admin user:
.. code-block:: bash
- docker-compose run --rm api flask createuser
+ docker-compose run --rm api flask users create
Then launch the whole thing:
diff --git a/docs/installation/linux.rst b/docs/installation/linux.rst
index f2d5beea..df1e4983 100644
--- a/docs/installation/linux.rst
+++ b/docs/installation/linux.rst
@@ -148,7 +148,7 @@ Then populate the database with default values (seeds):
.. code-block:: shell
# in the 'api' folder
- flask seed
+ flask db-datas 000-seeds
Create an admin account
@@ -159,7 +159,7 @@ You can then create your first user account:
.. code-block:: shell
# in the 'api' folder
- flask createuser
+ flask users create
.. warning::