6 | | All webservices are implemented. They can be consumed using JSON and JSON-RPC. |
7 | | |
8 | | Daemon which automates synchronization is functional though its status can not be confirmed without testing Zeroconf with it. |
9 | | |
10 | | == To Do == |
11 | | * Daemon as cronjob is not initialized automatically. see [http://groups.google.com/group/web2py/browse_thread/thread/b8a55655c7a651b8/910af539915e3c9d?lnk=gst&q=hasanatkazmi] |
12 | | * Zeroconf doesn't seems to be very promising. Extensive testing should be done.[[BR]] |
13 | | * Automatic Synchronization is limited to Sahanapy. SahanaPHP port should be implemented.[[BR]] |
| 8 | == !ToDo == |
| 9 | * Daemon as cronjob is not initialized automatically: [http://groups.google.com/group/web2py/browse_thread/thread/b8a55655c7a651b8/910af539915e3c9d] |
| 10 | * Zeroconf doesn't seems to be very promising. Extensive testing should be done. |
| 11 | * Automatic Synchronization is limited to !SahanaPy. SahanaPHP port should be implemented. |
17 | | 0. Install python 2.5 or 2.6[[BR]] |
18 | | 1. Install json-rpc from [http://json-rpc.org/wiki/python-json-rpc][[BR]] |
19 | | 2. Install Bazaar[[BR]] |
20 | | 3. bzr branch lp:~mdipierro/web2py/devel web2py[[BR]] |
21 | | 4. cd web2py/applications[[BR]] |
22 | | 5. bzr branch lp:~hasanatkazmi/sahana/p2psync[[BR]] |
23 | | 6. cd p2psync/cron[[BR]] |
24 | | 7. start web2py[[BR]] |
25 | | 8 start daemonX (python deamonX.py)[[BR]] |
26 | | 9. Replicate same procedure on another machine[[BR]] |
27 | | 10. Synchronization module should list other server in Sync Partners. After sometime, synchronization history should list sync activity. Logs are also maintained in cron/synclog.[[BR]] |
| 15 | 0. Install python 2.5 or 2.6 (2.6 passes all json-rpc tests, whilst 2.5 fails a couple) |
| 16 | 1. Install json-rpc from [http://json-rpc.org/wiki/python-json-rpc] |
| 17 | 2. Install Bazaar |
| 18 | 3. {{{bzr branch lp:~mdipierro/web2py/devel web2py}}} |
| 19 | 4. {{{cd web2py/applications}}} |
| 20 | 5. {{{bzr branch lp:~hasanatkazmi/sahana/p2psync}}} |
| 21 | 6. {{{cd p2psync/cron}}} |
| 22 | 7. start web2py |
| 23 | 8 start daemonX: {{{python daemonX.py}}} |
| 24 | 9. Replicate same procedure on another machine |
| 25 | 10. Synchronization module should list other server in Administration | Synchronisation | Sync Partners. After sometime, synchronization history should list sync activity. Logs are also maintained in {{cron/synclogs}}}. |
144 | | 1) !ZeroConf has Python library but Mesh4x doesn't. I means double work was required if we go with Mesh4x. |
145 | | 2) We just needed automatic discovery of service because we wanted to use web services, so that foreign developers can also use Restful API |
146 | | 3) Mesh4x required java daemon, which meant adding jre in the package which would double Sahana package size. |
147 | | |
148 | | |
149 | | |
| 140 | 1. !ZeroConf has Python library but Mesh4x doesn't. I means double work was required if we go with Mesh4x. |
| 141 | 2. We just needed automatic discovery of service because we wanted to use web services, so that foreign developers can also use Restful API |
| 142 | 3. Mesh4x required java daemon, which meant adding jre in the package which would double Sahana package size. |