fix
This commit is contained in:
parent
f17e83a4a3
commit
334c4c652c
1 changed files with 4 additions and 4 deletions
|
@ -40,6 +40,9 @@ sudo yunohost app setting $app domain -v $domain
|
||||||
|
|
||||||
sudo apt-get -y -qq install odoo
|
sudo apt-get -y -qq install odoo
|
||||||
|
|
||||||
|
# Install wkhtmltopdf to print PDF reports
|
||||||
|
sudo apt-get -y -qq install wkhtmltopdf
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf
|
sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf
|
||||||
sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf
|
sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf
|
||||||
|
@ -54,9 +57,6 @@ sudo yunohost app setting $app domain -v $domain
|
||||||
sudo yunohost service stop odoo
|
sudo yunohost service stop odoo
|
||||||
sudo yunohost service start odoo
|
sudo yunohost service start odoo
|
||||||
|
|
||||||
# Install wkhtmltopdf to print PDF reports
|
|
||||||
sudo apt-get -y -qq install wkhtmltopdf
|
|
||||||
|
|
||||||
# Configure Nginx and reload
|
# Configure Nginx and reload
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue