Auto db not working
This commit is contained in:
parent
2c0f9b43e4
commit
929b47cbb8
1 changed files with 7 additions and 7 deletions
|
@ -65,7 +65,7 @@ else
|
||||||
sudo sed -i "s@'auto_install': False@'auto_install': True@g" /usr/lib/python2.7/dist-packages/openerp/addons/auth_ldap/__openerp__.py
|
sudo sed -i "s@'auto_install': False@'auto_install': True@g" /usr/lib/python2.7/dist-packages/openerp/addons/auth_ldap/__openerp__.py
|
||||||
|
|
||||||
# Install oerplib to manage databases
|
# Install oerplib to manage databases
|
||||||
sudo pip install oerplib
|
# sudo pip install oerplib
|
||||||
|
|
||||||
# Add services
|
# Add services
|
||||||
sudo yunohost service add postgresql
|
sudo yunohost service add postgresql
|
||||||
|
@ -74,12 +74,12 @@ else
|
||||||
sudo yunohost service start odoo
|
sudo yunohost service start odoo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup database
|
# Setup database: not working
|
||||||
sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/install_database.py
|
# sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/install_database.py
|
||||||
sudo sed -i "s@DOMAIN_DATABASE@${domain//./-}@g" ../conf/install_database.py
|
# sudo sed -i "s@DOMAIN_DATABASE@${domain//./-}@g" ../conf/install_database.py
|
||||||
sudo sed -i "s@DATABASE_LANG@$database_lang@g" ../conf/install_database.py
|
# sudo sed -i "s@DATABASE_LANG@$database_lang@g" ../conf/install_database.py
|
||||||
sudo sed -i "s@DATABASE_PASSWORD@$database_password@g" ../conf/install_database.py
|
# sudo sed -i "s@DATABASE_PASSWORD@$database_password@g" ../conf/install_database.py
|
||||||
sudo python ../conf/install_database.py
|
# sudo python ../conf/install_database.py
|
||||||
|
|
||||||
# Setup LDAP: TO BE DONE
|
# Setup LDAP: TO BE DONE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue