Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.22 KB

INSTALL.en.md

File metadata and controls

43 lines (28 loc) · 1.22 KB

INSTALL

To install the server simply follow this instructions

Previous

The system in which the server will be installed, must have the following components working properly:

  1. NodeJs v6.0.0 or hihger
  2. npm (Node Packege Manager) v3.8.6 or higher
  3. MongoDB Server (mongod v.2.6.10 or hihger, only if you want to work on a local database)

Server installation :

  1. Dowload the zip file from GitHub.

  2. Unzip the file on the installation folder of your choice

  3. Move to the /server folder.

  4. Execute npm install

    Note that npm install will install automatically all project dependencies.

Start the Server

On the terminal of the OS, execute (one of the following)

 * If using a remote database server, try something like
  	MONGODB_URL="mongodb://readwrite:[email protected]:21462/kpax2" bin/www

		where
				xxxx is the database pwd
				readwrite  is the database user
				ds021462.mlab.com:21462/kpax2  the database of the remote server and  21462 is the connection port.

* if using a local database:
	Either run
		npm start
		or
		/bin/www (directly from the  /server folder)

Stop the Server:

Ctrl + C  (on the terminal where the server is running)