Skip to content
Snippets Groups Projects
Commit f8890dd7 authored by Martin Mareš's avatar Martin Mareš
Browse files

README: Práva proti zvědavým kolemjdoucím, ale Nginx má vidět socket

parent 741ca3b0
Branches
No related tags found
1 merge request!9WIP: Zárodek uživatelské části webu a submitování
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
# Založit adresář pro instanci # Založit adresář pro instanci
mkdir /akce/mo/osmo-test mkdir /akce/mo/osmo-test
chmod 770 /akce/mo/osmo-test
setfacl -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test setfacl -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test
setfacl -d -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test setfacl -d -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test
...@@ -41,6 +42,9 @@ ...@@ -41,6 +42,9 @@
cd src cd src
bin/deploy bin/deploy
# Zpřístupnit socket Nginxu
setfacl -m u:www-data:x /akce/mo/osmo-test /akce/mo/osmo-test/var
# Inicializovat regiony v DB # Inicializovat regiony v DB
# Obstarat si db/ruian/ a db/schools/parsed/ z jiné instance (nebo je znovu stáhnout) # Obstarat si db/ruian/ a db/schools/parsed/ z jiné instance (nebo je znovu stáhnout)
. ../venv/bin/activate . ../venv/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment