So long as you have PostgreSQL and RabbitMQ available you can just
- Check out the code
- Tweak the first few lines of the Makefile to tell it your PostgreSQL database name, user name, etc...
- If you already have a database then touch 0_database_complete.txt to indicate that the database has already been initialized.
- To fire-up a working test instance just run "make run-master"
- Point your WebDAV client at 127.0.0.1:8080/dav
You can run "make install-dependencies" if you want to update the Coils dependencies check - just delete the 0_dependencies_installed.txt file which indicates that dependencies have already been isntalled.
Aside: You may also want to add some of the optional Python modules to your virtual environment such as PIL, informixdb, z3c.rml, procname, or YaJL. These are not required by OpenGroupware Coils and are not automatically installed.
Simple steps to provision PostgreSQL & RabbitMQ
sudo sudo -u postgres createuser --password --no-superuser --no-created --no-createrole OGoDevThis will give you a PG and AMQ user "OGoDev" with the password specified, a database named "OGoDev0", and an AMQ virtual host named "OGoDev0". These values are set in the top of the Makefile.
sudo sudo -u postgres createdb -E UTF-8 -O OGoDev OGoDev0
sudo /usr/sbin/rabbitmqctl add_user OGoDev {AMQPASSWORD}
sudo /usr/sbin/rabbitmqctl add_vhost OGoDev0
sudo /usr/sbin/rabbitmqctl set_permissions -p OGoDev0 OGoDev ".*" ".*" ".*"
Text1: Provision PostgreSQL and RabbitMQ
It seems like this could be a precursor to creating a distro with OBS for OG?
ReplyDelete