Skip to content

Building Eureka Client and Server

karthik-vn edited this page Sep 1, 2012 · 12 revisions

##Prerequisites

  • Git version 1.7.11.3 or higher
  • Gradle 1.0-milestone-9 or higher

##Build Steps

  • Install the latest git and gradle packages.

  • Get the Eureka source from github

     
     git init
     git remote add --track master origin [email protected]:Netflix/eureka.git
     git pull
    
  • Now, build the Eureka Server by executing the following in the directory where you pulled your sources.

     
      ./gradlew clean build
      
  • You can find the following artifacts

    • Eureka Server WAR archive (./eureka-server/build/libs/eureka-server-XXX-SNAPSHOT.war )
    • Eureka Client (./eureka-client/build/libs/eureka-client-XXX-SNAPSHOT.war )
    • Dependencies (./eureka-server/testlibs/) (If you do not want to use maven to download dependencies you can use these archives)