$ npm i colu
Full documentation for this Module can be found here: http://documentation.colu.co/
To run as a standalone server you need to install Node.Js and NPM. Then install the colu module globaly like this:
$ npm i -g colu
Then just run it from the terminal like this:
And now you can use JSON-RPC 2.0 requests to use the Colu SDK. By default it will be hosted at : 127.0.0.1:80 and will be locked to local host only.
$ npm test
docker build -t colunodejs .
docker run -p 8080:80 -it colunodejs
You should now be able to make your api calls to port 8080 on your host machine (or select another port, say 1234, by running instead with
docker run -p 1234:80 -it colunodejs)
Since we are running in interactive shell mode
-it you can stop the container by pressing