Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
4943133d
Commit
4943133d
authored
Dec 03, 2014
by
Marc
Browse files
web2py install : build database folders
parent
c1da8c17
Changes
1
Show whitespace changes
Inline
Side-by-side
server/nginx_install.sh
View file @
4943133d
...
@@ -221,6 +221,11 @@ rm web2py_src.zip
...
@@ -221,6 +221,11 @@ rm web2py_src.zip
chown
-R
www-data:www-data web2py
chown
-R
www-data:www-data web2py
cd
$CWD
/web2py
cd
$CWD
/web2py
sudo
-u
www-data python
-c
"from gluon.main import save_password; save_password('
$PW
',443)"
sudo
-u
www-data python
-c
"from gluon.main import save_password; save_password('
$PW
',443)"
mkdir
/mnt/upload
mkdir
/mnt/upload/uploads
mkdir
/mnt/result
chown
-R
www-data:www-data /mnt/upload
chown
-R
www-data:www-data /mnt/result
start uwsgi-emperor
start uwsgi-emperor
/etc/init.d/nginx restart
/etc/init.d/nginx restart
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment