Replicating Ajatus with your colleagues
I’ve mentioned before that Ajatus is a P2P CRM, but what does that mean? It means that Ajatus has been designed to be a personal tool for information management, but that is has also been designed to help you connect with anyone you need to work with.
The means to that is CouchDb’s integrated replication feature. With it you can easily share your Ajatus data with anybody in the network, or just keep your laptop and desktop system in sync.
At the moment we only support full replication over HTTP, but the plan is to support replicating only data with specific tags (for example, only data related to a specific project), and to do it over XMPP.
As things are, here is how you set up Ajatus replication on a Mac OS X system:
First allow CouchDb to talk to the outside world (note: it is a good idea to keep the firewall up when not replicating!):
Then access the CouchDb management console in http://localhost:5984/_utils/ and go to "Replication". Set up the replication paths there. The database you’re interested in is "ajatus_db_content" (by default, see advanced setup):
Once you have entered the paths just click "Replicate" and wait a sec. Replication is one way, so remember to also replicate back from the other server!
When replication is done your Ajatus system should have data entered on multiple systems:
My company is now dogfooding Ajatus. At the moment we use it in full peer-to-peer mode, but there are some plans to install a central server for security and backup purposes. I will post some notes on our experiences later this month.
In related news: CouchDb lead developer Damien Katz has been hired by IBM to work full-time on the database. This is great news for both CouchDb and Ajatus. Congratulations!
Technorati Tags: ajatus, couchdb, replication