NAME
Rex::IO::Server - The webservice component of Rex.IO
This is the webservice component of Rex.IO tieing all supported services together under one API.
GETTING HELP
IRC: irc.freenode.net #rex
Bug Tracker: https://github.com/krimdomu/rex-io-server/issues
INSTALLATION
With cpanminus:
cpanm Rex::IO::Server
After installing create the file /etc/rex/io/server.conf. And set the url to Rex::IO::CMDB.
{
cmdb => "http://rex-cmdb:3000",
git => "git://url/to/your/git/repository.git",
checkout_path => "/var/lib/rex.io/services",
branch => "master",
}
And start the server:
rex_ioserver daemon
You can also define an other Listen Port (default is 3000)
rex_ioserver daemon -l 'http://:4000'
Right now there is no Webinterface. You can test if everything is correct with the following command:
curl -X LIST http://localhost:3000/server
If you get an answer like this it works:
{"ok":true,"data":{}}