Minor fixes on debian doc
This commit is contained in:
parent
51b23b5efd
commit
ed63824c8f
|
@ -31,7 +31,7 @@ Layout
|
||||||
|
|
||||||
All funkwhale-related files will be located under ``/srv/funkwhale`` apart
|
All funkwhale-related files will be located under ``/srv/funkwhale`` apart
|
||||||
from database files and a few configuration files. We will also have a
|
from database files and a few configuration files. We will also have a
|
||||||
dedicated ``funwhale`` user to launch the processes we need and own those files.
|
dedicated ``funkwhale`` user to launch the processes we need and own those files.
|
||||||
|
|
||||||
You are free to use different values here, just remember to adapt those in the
|
You are free to use different values here, just remember to adapt those in the
|
||||||
next steps.
|
next steps.
|
||||||
|
|
|
@ -18,7 +18,7 @@ On debian-like systems, you would install the database server like this:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
sudo apt-get install postgresql
|
sudo apt-get install postgresql postgresql-contrib
|
||||||
|
|
||||||
The remaining steps are heavily inspired from `this Digital Ocean guide <https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04>`_.
|
The remaining steps are heavily inspired from `this Digital Ocean guide <https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04>`_.
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,8 @@ Then, download our sample virtualhost file and proxy conf:
|
||||||
.. parsed-literal::
|
.. parsed-literal::
|
||||||
|
|
||||||
curl -L -o /etc/nginx/funkwhale_proxy.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/funkwhale_proxy.conf"
|
curl -L -o /etc/nginx/funkwhale_proxy.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/funkwhale_proxy.conf"
|
||||||
curl -L -o /etc/nginx/sites-enabled/funkwhale.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/nginx.conf"
|
curl -L -o /etc/nginx/sites-available/funkwhale.conf "https://code.eliotberriot.com/funkwhale/funkwhale/raw/|version|/deploy/nginx.conf"
|
||||||
|
ln -s /etc/nginx/sites-available/funkwhale.conf /etc/nginx/sites-enabled/
|
||||||
|
|
||||||
Ensure static assets and proxy pass match your configuration, and check the configuration is valid with ``nginx -t``. If everything is fine, you can restart your nginx server with ``service nginx restart``.
|
Ensure static assets and proxy pass match your configuration, and check the configuration is valid with ``nginx -t``. If everything is fine, you can restart your nginx server with ``service nginx restart``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue