Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Orion/How Tos/Install Orion Marketplace on Localhost"
(→Prerequisites) |
(→Prerequisites) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
#Download and install the current Node.js for your platform from [http://nodejs.org/download/]. | #Download and install the current Node.js for your platform from [http://nodejs.org/download/]. | ||
#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 | + | #Download and install Mongodb for your platform from [http://www.mongodb.org/downloads]. |
− | #Clone Orion Marketplace sources from [ | + | #Clone Orion Marketplace sources from [git://git.eclipse.org/gitroot/orion/org.eclipse.orion.marketplace.git git://git.eclipse.org/gitroot/orion/org.eclipse.orion.marketplace.git] |
== Configuration == | == Configuration == | ||
− | # | + | #Depending on your platform, follow official mongodb installation guidelines: [http://docs.mongodb.org/manual/installation/] |
− | + | ||
#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 <code>npm install</code>. | #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 <code>npm install</code>. | ||
#If you provided a different database name than <code>orion-marketplace</code> or wish to alter some default server settings, open the <code>orion-marketplace.conf</code> configuration file and change the appropriate configuration entries. | #If you provided a different database name than <code>orion-marketplace</code> or wish to alter some default server settings, open the <code>orion-marketplace.conf</code> configuration file and change the appropriate configuration entries. | ||
Line 16: | Line 15: | ||
#Navigate to the server location and type <code>node app</code>. | #Navigate to the server location and type <code>node app</code>. | ||
#The server should be running on [http://localhost:3000 http://localhost:3000] | #The server should be running on [http://localhost:3000 http://localhost:3000] | ||
+ | |||
+ | [[Category:Orion|How To]] | ||
+ | [[Category:Orion/How To|Marketplace]] |
Latest revision as of 07:39, 20 February 2014
This page explains how to download, install, and run Orion Marketplace on your local machine.
Prerequisites
- Download and install the current Node.js for your platform from [1].
- 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].
- Download and install Mongodb for your platform from [3].
- Clone Orion Marketplace sources from git://git.eclipse.org/gitroot/orion/org.eclipse.orion.marketplace.git
Configuration
- Depending on your platform, follow official mongodb installation guidelines: [4]
- 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
. - If you provided a different database name than
orion-marketplace
or wish to alter some default server settings, open theorion-marketplace.conf
configuration file and change the appropriate configuration entries.
Run the server
- Navigate to the server location and type
node app
. - The server should be running on http://localhost:3000