| File | Date | Author | Commit |
|---|---|---|---|
| jsonrpc | 2012-04-10 |
|
[3792ff] server now closes even if there are clients con... |
| .hgignore | 2011-11-17 |
|
[3e0041] app instalation script |
| .hgtags | 2012-04-11 |
|
[48bbaa] Added tag v1.0rc3 for changeset 3792ffb2afde |
| COPYING | 2011-11-17 |
|
[6b515a] added licesing |
| README | 2011-11-17 |
|
[c4cc73] added readme |
| __init__.py | 2011-11-01 |
|
[935079] Initial commit with code from the POC |
| interface.py | 2012-04-03 |
|
[0ed284] the pong is now a method from the interface |
| multiapps.py | 2012-04-20 |
|
[744722] client now leaves current room before entering ... |
| multiapps_install.py | 2011-11-17 |
|
[6b515a] added licesing |
| start.py | 2011-11-17 |
|
[d0fc84] added 'starting' and 'stopping' messages to the... |
Multiapps is a generic RPC and database sharing server based on JSON-RPC protocol and MongoDB, written entirely in python 3. It has wrapper apis to facilitate message between clients and access to database objects through a single connection. It is focused on performance and easy of use.
'''Starting Multiapps'''
* Make sure MongoDB is up and running
* Run the multiapps daemon: '''python start.py start''' (Remember it's based on python 3)
* To stop run: '''python start.py stop'''
'''Debugging in Multiapps'''
* You can run Multiapps in debug mode simply running the debug command in the daemon script:
* '''python start.py debug'''
* To stop simply type '''ctrl+c'''
'''Accessing Database'''
* Remember that MongoDB must be running
* Install your app using the script multiapps_install.py
* '''python multiapps_install.py myAppCode'''
* The script will generate an unique key that you must use with the code of your app (the code you used during the instalation). Think of this key as a password.