From 6dd9abdb858b9cef9604bcd40d111df23e51e503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Wed, 7 Jun 2023 12:02:17 +0200 Subject: [PATCH] docs: update superuser command --- docs/administrator/installation/debian.md | 2 +- docs/administrator/installation/docker.md | 2 +- docs/developer/setup/docker.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/administrator/installation/debian.md b/docs/administrator/installation/debian.md index 4a7f134b5..36a8116f6 100644 --- a/docs/administrator/installation/debian.md +++ b/docs/administrator/installation/debian.md @@ -266,7 +266,7 @@ You can create several superusers. To start using Funkwhale, you need to create a superuser for your pod. This user has all the permissions needed to administrate the pod. Follow these steps to create a superuser. ```{code-block} sh -sudo -u funkwhale venv/bin/funkwhale-manage createsuperuser +sudo -u funkwhale venv/bin/funkwhale-manage fw users create --superuser ``` That's it! You can log in as this user when you finish setting up Funkwhale. diff --git a/docs/administrator/installation/docker.md b/docs/administrator/installation/docker.md index dfe634e2e..4cfe2e1aa 100644 --- a/docs/administrator/installation/docker.md +++ b/docs/administrator/installation/docker.md @@ -154,7 +154,7 @@ Once you've filled in your environment file, you can set up Funkwhale. Follow th 4. Create your superuser. ```{code-block} sh - sudo docker compose run --rm api funkwhale-manage createsuperuser + sudo docker compose run --rm api funkwhale-manage fw users create --superuser ``` 5. Launch all the containers to bring up your pod. diff --git a/docs/developer/setup/docker.md b/docs/developer/setup/docker.md index abcfaf719..9ebf86c18 100644 --- a/docs/developer/setup/docker.md +++ b/docs/developer/setup/docker.md @@ -84,7 +84,7 @@ You need to create some local data to mimic a production environment. 1. Create a superuser so you can log in to your local app: ```sh - sudo docker compose -f dev.yml run --rm api funkwhale-manage createsuperuser + sudo docker compose -f dev.yml run --rm api funkwhale-manage fw users create --superuser ``` 2. Add some fake data to populate the database. The following command creates 25 artists with random albums, tracks, and metadata. @@ -187,7 +187,7 @@ To run a reverse proxy for your app: export COMPOSE_PROJECT_NAME=node2 export VUE_PORT=1234 # this has to be unique for each instance sudo docker compose -f dev.yml run --rm api funkwhale-manage migrate - sudo docker compose -f dev.yml run --rm api funkwhale-manage createsuperuser + sudo docker compose -f dev.yml run --rm api funkwhale-manage fw users create --superuser sudo docker compose -f dev.yml up nginx api front nginx api celeryworker ```