This is the prototype of the Pair programming plugin for Eclipse Che.
Video of the demos can be found
Last slides done at Eclipse Con NA 2016: Slides
Docker 1.10 + Java JDK 1.8
Should be with uid 1000 and be in the docker group. docker ps
should work.
cd /path/to/your/workspace && \
git clone https://github.com/sunix/che-plugin-flux-live-edit.git che-flux && \
cd che-flux && \
git checkout assembly4flux
mvn clean install -Dmaven.test.skip -Dfindbugs.skip -N
cd /path/to/your/workspace && \
git clone https://github.com/sunix/che-plugin-flux-live-edit.git && \
cd che-plugin-flux-live-edit && \
mvn clean install -Dmaven.test.skip -Dfindbugs.skip
cd /path/to/your/workspace/che-flux
mvn clean install -Dmaven.test.skip -Dfindbugs.skip -f assembly/pom.xml && \
cp -rf assembly/assembly-main/target/eclipse-che-*/eclipse-che-* .
-r:ip
is optional, replace the ip with your external ip
./eclipse-che-4.2.1/bin/che.sh -r:ip run
Access to Che through with your browser http://ip:8080
To make the demo up and running:
-
Create a workspace from a custom stack. Provide the following Dockerfile to your stack:
FROM sunix/chefluxworkspace
-
Start the workspace, Open in IDE
-
Import the helloworld project from Github (can actually be any project):
https://github.com/sunix/helloworld
-
Create a custom command
- name:
flux
- commandline:
sudo service rabbitmq-server start && cd /home/user/flux-master/node.server && npm start
- Start the flux command
- Open a file to edit
- Open a new browser windows to the same workspace, open the same file to edit
- And it should work. If not, try to refresh both browser windows.