This makes the kPAX2 server run by default in port 8081
The easiest way to download the server is by cloning it from the GIT repository:
$ git clone https://github.com/drierat/kPAX2_server.git
In order to work in the devel
branch we specify it:
$ git checkout devel
Execute the server from the server/
directory.
You can specify parameters using local environment
- MONGODB_URL: the mongodb connection URL
- DEBUG: the prefix for debugin (ex. DEBUG=app*)
For stating the server:
$ MONGODB_URL="mongodb://readwrite:[email protected]:21462/kpax2" bin/www
For stating the server with debug
$ DEBUG=* MONGODB_URL="mongodb://readwrite:[email protected]:21462/kpax2" bin/www
For changing the port number edit the file server/bin/www
TODO