-
Notifications
You must be signed in to change notification settings - Fork 1
BuildAndRun
Marc Sluiter edited this page Aug 3, 2014
·
4 revisions
-
Using Docker and the provided Dockerfile
- Install docker if not done yet: https://docs.docker.com/installation/
- Download the Webracer Dockerfile to an empty directory: https://github.com/slintes/Webracer/blob/master/docker/Dockerfile
- Cd to that directory and run "docker build -t webracer ."
- Start the just created image with "docker run -p 8080:8080 -i -t webracer /bin/bash". Feel free to change the first portnumber to your need, the Webracer itself will listen on port 8080.
- Start Webracer with "cd Webracer && java -jar repoOsgi/WebracerStarter.jar &"
- If you need to rebuild Webracer you can do it with "cd Webracer && ./gradlew install"
-
Manually
- Install Java 8 SDK if not done yet: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Clone the Webracer repository https://github.com/slintes/Webracer
- In the Webracer root directory run "./gradlew install"
- Start Webracer with "java -jar repoOsgi/WebracerStarter.jar &". It will listen on port 8080.