diff --git a/docs/installation/debian.rst b/docs/installation/debian.rst index 2a9f39ea59dbc07bbb74c7b03c89671c0cab7e8e..b5492080acc0f03134f8c4da83522d4bddf63569 100644 --- a/docs/installation/debian.rst +++ b/docs/installation/debian.rst @@ -23,7 +23,7 @@ default on system. You can install them using: .. code-block:: shell sudo apt-get update - sudo apt-get install curl python3-venv git unzip + sudo apt-get install curl python3-pip python3-venv git unzip Layout @@ -90,7 +90,7 @@ First, we'll download the latest api release. curl -L -o "api-|version|.zip" "https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/artifacts/|version|/download?job=build_api" unzip "api-|version|.zip" -d extracted mv extracted/api/* api/ - rmdir extracted + rm -rf extracted Then we'll download the frontend files: diff --git a/docs/installation/external_dependencies.rst b/docs/installation/external_dependencies.rst index 39d32b38fdaf2c3e071665341164b12e77dc9309..adfb90e72e9f2011dc5d3334a6c3fdfa2a3aef9e 100644 --- a/docs/installation/external_dependencies.rst +++ b/docs/installation/external_dependencies.rst @@ -32,10 +32,8 @@ Create the project database and user: .. code-block:: shell - CREATE DATABASE "scratch" - WITH ENCODING 'utf8' - LC_COLLATE = 'en_US.utf8' - LC_CTYPE = 'en_US.utf8'; + CREATE DATABASE "funkwhale" + WITH ENCODING 'utf8'; CREATE USER funkwhale; GRANT ALL PRIVILEGES ON DATABASE funkwhale TO funkwhale; @@ -58,7 +56,7 @@ for funkwhale to work properly: .. code-block:: shell - sudo -u postgres psql -c 'CREATE EXTENSION "unaccent";' + sudo -u postgres psql funkwhale -c 'CREATE EXTENSION "unaccent";' Cache setup (Redis)