Jump to: navigation, search

Difference between revisions of "Orion/How Tos/Install Orion Marketplace on Localhost"

< Orion‎ | How Tos
(Prerequisites: fix git repo url)
(Prerequisites)
Line 5: Line 5:
 
#Pre-buit installers should contain NPM out of the box. If you decide to build from sources, you may want to use a build script. See, e. g. [https://gist.github.com/isaacs/579814].
 
#Pre-buit installers should contain NPM out of the box. If you decide to build from sources, you may want to use a build script. See, e. g. [https://gist.github.com/isaacs/579814].
 
#Download and install Apache CouchDB for your platform from [http://couchdb.apache.org/].
 
#Download and install Apache CouchDB for your platform from [http://couchdb.apache.org/].
#Clone Orion Marketplace sources from [http://git.eclipse.org/c/orion/org.eclipse.orion.marketplace.git http://git.eclipse.org/c/orion/org.eclipse.orion.marketplace.gitt]
+
#Clone Orion Marketplace sources from [http://git.eclipse.org/c/orion/org.eclipse.orion.marketplace.git http://git.eclipse.org/c/orion/org.eclipse.orion.marketplace.git]
  
 
== Configuration ==
 
== Configuration ==

Revision as of 13:30, 18 September 2013

This page explains how to download, install, and run Orion Marketplace on your local machine.

Prerequisites

  1. Download and install the current Node.js for your platform from [1].
  2. Pre-buit installers should contain NPM out of the box. If you decide to build from sources, you may want to use a build script. See, e. g. [2].
  3. Download and install Apache CouchDB for your platform from [3].
  4. Clone Orion Marketplace sources from http://git.eclipse.org/c/orion/org.eclipse.orion.marketplace.git

Configuration

  1. If installed from pre-built binaries, Apache CouchDB itself should not require additional configuration and be available using http://localhost:5984/_utils/.
  2. Using the Apache CouchDB web interface create a database for Orion Marketplace, e. g. orion-marketplace.
  3. Using the system console (or node.js command prompt in Windows) navigate to the location where you have cloned the Orion Marketplace sources. In order to install required external node.js modules, use npm install.
  4. If you provided a different database name than orion-marketplace or wish to alter some default server settings, open the orion-marketplace.conf configuration file and change the appropriate configuration entries.

Run the server

  1. Navigate to the server location and type node app.
  2. The server should be running on http://localhost:3000