Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
f8890dd7
Commit
f8890dd7
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
README: Práva proti zvědavým kolemjdoucím, ale Nginx má vidět socket
parent
741ca3b0
Branches
Branches containing commit
No related tags found
1 merge request
!9
WIP: Zárodek uživatelské části webu a submitování
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-0
4 additions, 0 deletions
README.md
with
4 additions
and
0 deletions
README.md
+
4
−
0
View file @
f8890dd7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment