Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Flux/Running Flux"

Line 1: Line 1:
 
This is a brief description how to run the Flux implementation locally. Since Flux is a highly decoupled and distributed system that is aimed at running in the cloud on different nodes and cloud regions, running Flux locally requires a number of individual components to be installed and run locally.
 
This is a brief description how to run the Flux implementation locally. Since Flux is a highly decoupled and distributed system that is aimed at running in the cloud on different nodes and cloud regions, running Flux locally requires a number of individual components to be installed and run locally.
  
 
+
=== Infrastructure ===
Infrastructure:
+
 
* Download RabbitMQ ([http://www.rabbitmq.com/download.html RabbitMQ download page])
 
* Download RabbitMQ ([http://www.rabbitmq.com/download.html RabbitMQ download page])
 
* Install and start RabbitMQ (for Mac, for example: [http://www.rabbitmq.com/install-standalone-mac.html Install and Run RabbitMQ on Mac])
 
* Install and start RabbitMQ (for Mac, for example: [http://www.rabbitmq.com/install-standalone-mac.html Install and Run RabbitMQ on Mac])
 
Once RabbitMQ is running, you can configure. This is used as the messaging backbone for Flux.
 
Once RabbitMQ is running, you can configure. This is used as the messaging backbone for Flux.
  
 
+
=== Flux node server ===
Flux node server
+
 
* you need node and npm installed on your machine ([http://nodejs.org/download/ Node.js])
 
* you need node and npm installed on your machine ([http://nodejs.org/download/ Node.js])
 
* run "npm install eclipse-flux"
 
* run "npm install eclipse-flux"
Line 14: Line 12:
 
You will see logging output appearing on the console.
 
You will see logging output appearing on the console.
  
 
+
=== Eclipse IDE integration ===
Eclipse IDE integration
+
 
* get your favorite Eclipse distribution ([https://www.eclipse.org/downloads/ Eclipse Downloads])
 
* get your favorite Eclipse distribution ([https://www.eclipse.org/downloads/ Eclipse Downloads])
 
* install the Flux integration via "Install New Software..." (Flux update site: [http://download.eclipse.org/flux/snapshots http://download.eclipse.org/flux/snapshots])
 
* install the Flux integration via "Install New Software..." (Flux update site: [http://download.eclipse.org/flux/snapshots http://download.eclipse.org/flux/snapshots])
 
After restarting your Eclipse IDE, there is a new context menu section called "Flux", which you can use to connect and disconnect projects to/from Flux.
 
After restarting your Eclipse IDE, there is a new context menu section called "Flux", which you can use to connect and disconnect projects to/from Flux.
  
 
+
=== Orion Web UI ===
Orion Web UI
+
 
* open a browser at: http://localhost:3000/
 
* open a browser at: http://localhost:3000/
 
This gives you a simplified Orion web UI for navigating and working with the projects that are connected to Flux. Once you have the headless JDT service running on your machine (see below), the advanced features for Java like auto-completion as well as errors and warnings appear in the Orion code editor.
 
This gives you a simplified Orion web UI for navigating and working with the projects that are connected to Flux. Once you have the headless JDT service running on your machine (see below), the advanced features for Java like auto-completion as well as errors and warnings appear in the Orion code editor.
  
 
+
=== Headless JDT service ===
Headless JDT service
+
 
* download the headless JDT that fits your platform:
 
* download the headless JDT that fits your platform:
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-macosx.cocoa.x86_64.tar.gz Mac 64bit]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-macosx.cocoa.x86_64.tar.gz Mac 64bit]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-win32.win32.x86.zip Win 32bit] [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-win32.win32.x86_64.zip Win64bit]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-win32.win32.x86.zip Win 32bit] [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-win32.win32.x86_64.zip Win64bit]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-linux.gtk.x86.zip Linux 32bit] [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-linux.gtk.x86_64.zip Linux 64bit]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-linux.gtk.x86.zip Linux 32bit] [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.headless-linux.gtk.x86_64.zip Linux 64bit]
 +
* extract that package somewhere on your drive
 +
 
* download the headless JDT service manager
 
* download the headless JDT service manager
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.jdt.service.provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar Headless JDT Service Manager as a single JAR]
 
** [http://download.eclipse.org/flux/snapshots/org.eclipse.flux.jdt.service.provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar Headless JDT Service Manager as a single JAR]
 +
* to run the JDT service manager, go to the console and run:
 +
** '''java -jar org.eclipse.flux.jdt.service.provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar'''
 +
** include the following paramters:
 +
*** '''-app''' <path to the headless JDT package that you extracted above>
  
Flux Java Client library
+
=== Flux Java Client library ===
 
*
 
*

Revision as of 10:46, 13 February 2015

This is a brief description how to run the Flux implementation locally. Since Flux is a highly decoupled and distributed system that is aimed at running in the cloud on different nodes and cloud regions, running Flux locally requires a number of individual components to be installed and run locally.

Infrastructure

Once RabbitMQ is running, you can configure. This is used as the messaging backbone for Flux.

Flux node server

  • you need node and npm installed on your machine (Node.js)
  • run "npm install eclipse-flux"
  • run "npm start eclipse-flux"

You will see logging output appearing on the console.

Eclipse IDE integration

After restarting your Eclipse IDE, there is a new context menu section called "Flux", which you can use to connect and disconnect projects to/from Flux.

Orion Web UI

This gives you a simplified Orion web UI for navigating and working with the projects that are connected to Flux. Once you have the headless JDT service running on your machine (see below), the advanced features for Java like auto-completion as well as errors and warnings appear in the Orion code editor.

Headless JDT service

  • download the headless JDT service manager
  • to run the JDT service manager, go to the console and run:
    • java -jar org.eclipse.flux.jdt.service.provider-0.0.1-SNAPSHOT-jar-with-dependencies.jar
    • include the following paramters:
      • -app <path to the headless JDT package that you extracted above>

Flux Java Client library

Back to the top