The Legion code base Version 0.2.0.
You need node (npm) [https://nodejs.org/en/].
$ git clone https://github.com/albertlinde/Legion
$ cd Legion
$ npm install #obtains required dependencies
$ ./compile.sh #creates minified .js files
$ npm start
Start starts HTTP, Signalling and Objects servers.
Open localhost:8000 in your browser.
$ npm stop
Stop shuts down all servers. Logs can be found in the folder run.
- /applications contains example applications.
- /framework contains legion.
- /framework/client has client only code.
- /framework/client/protocols has overlay and messaging protocols.
- /framework/server has server (NodeJS) code.
- /framework/shared has code used by both client and server.
- /framework/shared/dataStructures has used data-structure implementations.
- /framework/shared/crdtLib has CRDT implementations.
./compile.sh #updates all minified JS files
WIP:
- Currently re-building the examples to make them easier to understand.
- Existing data-types are being worked on.
- Data synchronization between peers and server is under review.
- Existing security features are under review.
LegionOverlayVis - A peer-to-peer overlay network visualisation tool.
Albert van der Linde http://novasys.di.fct.unl.pt/~alinde/
Apache-2.0