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/05/23 Patrick Hetu add myself as maintainer (revno 44) |
| 2012/04/05 Patrick Hetu makes start and stop hooks executabl (revno 43) |
| 2012/04/05 Patrick Hetu re-re-add start/stop hooks (revno 42) |
| 2012/04/05 Patrick Hetu document that configurations are only valid at installation time (revno 41) |
| 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) |