Relative directory
This commit is contained in:
parent
5c9bb711c8
commit
8bc31ba1d1
@ -9916,6 +9916,8 @@ function install_media_server {
|
|||||||
apt-get -y install fcgiwrap libmysqlclient-dev
|
apt-get -y install fcgiwrap libmysqlclient-dev
|
||||||
apt-get -y install libjpeg-dev zlib1g-dev libfreetype6-dev
|
apt-get -y install libjpeg-dev zlib1g-dev libfreetype6-dev
|
||||||
apt-get -y install python-setuptools python-virtualenv
|
apt-get -y install python-setuptools python-virtualenv
|
||||||
|
apt-get -y remove uwsgi uwsgi-plugin-python
|
||||||
|
pip uninstall uwsgi
|
||||||
apt-get -y install uwsgi uwsgi-plugin-python
|
apt-get -y install uwsgi uwsgi-plugin-python
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install paster==0.8
|
pip install paster==0.8
|
||||||
@ -9996,7 +9998,7 @@ function install_media_server {
|
|||||||
sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini
|
sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini
|
||||||
|
|
||||||
# initial data
|
# initial data
|
||||||
cp -a mediadrop/data .
|
cp -a data .
|
||||||
paster setup-app deployment.ini
|
paster setup-app deployment.ini
|
||||||
|
|
||||||
# add uwsgi to deployment.ini
|
# add uwsgi to deployment.ini
|
||||||
|
Loading…
x
Reference in New Issue
Block a user