Juju charm OpenERP
==================
:Author: Patrick Hetu <patrick@koumbit.org>
Example deployment
------------------
1. First bootstrap your environment::
juju bootstrap
2. On a diffent terminal starts the log collection with the command::
juju debug-log
3. Then in the first terminal create the services and expose them to the Internet::
juju deploy postgresql
juju deploy openerp-web
juju deploy openerp-server
juju add-relation openerp-server:db postgresql:db-admin
juju add-relation openerp-web openerp-server
juju expose openerp-web
juju expose openerp-server
4. Accessing your openerp:
For the web interface, it should be ready at::
http://<your_server_address>
To find out the public address of openerp-web, look for it in the output of the
`juju status` command.
For the XML-RPC interface look for the public address of openerp-server. It
is running there on port 8070.
3. If you have not set a master password:
To be able to create database via the web interface, you must know the
master password. You will found it in the logs collected by the `juju debug-log`
command. If you need it later, the password is in the `/etc/openerp-server.conf`
configuration file. You can read it by running this command:
cat /etc/openerp-server.conf
after have logged in the openerp-server server. The command will show you a
line with the password looking like this:
admin_passwd = <the_password>
| 2012/03/28 Patrick Hetu remove empty and unuse files (revno 40) |
| 2012/03/28 Patrick Hetu also open the XML-RPC port 8069 (revno 39) |
| 2012/03/28 Patrick Hetu change the relation port for the website relation (revno 38) |
| 2012/03/25 Patrick Hetu Add the master password in the logs and document it (revno 37) |
| 2012/03/25 Patrick Hetu remove python-software-properties since we don't use ppa any more (revno 36) |
| 2012/03/25 Patrick Hetu remove broken ppa install option (revno 35) |
| 2012/03/25 Patrick Hetu make it possible to use the XML-RPC port (revno 34) |
| 2012/03/22 Patrick Hetu re-add password generation since openerp set admin as default (revno 33) |
| 2012/03/22 Patrick Hetu document the admin_passwd option (revno 32) |