Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 912 Bytes

README.md

File metadata and controls

49 lines (29 loc) · 912 Bytes

kPAX2_server

This makes the kPAX2 server run by default in port 8081

Execute

Download

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

Run the server

Execute the server from the server/ directory.

You can specify parameters using local environment

  1. MONGODB_URL: the mongodb connection URL
  2. 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

Change the port number

For changing the port number edit the file server/bin/www

API

TODO