Skip to content

BuildAndRun

Marc Sluiter edited this page Aug 3, 2014 · 4 revisions

Building an running the Webracer project

  1. 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 ." for creating a dockere image which contains everything to run Webracer. The image is tagged with the name "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"
  2. Manually

Clone this wiki locally