From e3de7306caf051a6b5df02cc095329fd2a2c5871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wxcaf=C3=A9=20=28Cl=C3=A9ment=20Hertling=29?= Date: Thu, 12 Jul 2018 21:25:49 +0200 Subject: [PATCH] adds instructions for installation via git clone --- docs/installation/debian.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/installation/debian.rst b/docs/installation/debian.rst index 5a4c9dae5..21b97f922 100644 --- a/docs/installation/debian.rst +++ b/docs/installation/debian.rst @@ -106,6 +106,20 @@ Then we'll download the frontend files: mv extracted/front . rm -rf extracted +.. note:: + + You can also choose to get the code directly from the git repo. In this + case, run + + cd /srv + rm -r funkwhale + git clone https://code.eliotverriot.com/funkwhale/funkwhale funkwhale + cd funkwale + + You will still need to get the frontend files as specified before, because + we're not going to build them. + + You can leave the ZIP archives in the directory, this will help you know which version you've installed next time you want to upgrade your installation. @@ -191,6 +205,13 @@ Download the sample environment file: curl -L -o config/.env "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/env.prod.sample" +.. note:: + + if you used git to get the latest version of the code earlier, you can instead do + + cp /srv/funkwhale/deploy/env.prod.sample /srv/funkwhale/config/.env + + You can then edit it: the file is heavily commented, and the most relevant configuration options are mentioned at the top of the file.