Setup Environment

Setup Local Java Develop Environment

Starting Local Service Center

There are two ways to start a service center service:

  1. Start from installation package

    1. Download the installation package of ServiceCenter
    2. Decompress the installation package into the installation directory.
    3. Start Local ServiceCenter from start file
    1. Download and Decompress command:
      wget https://github.com/apache/incubator-servicecomb-service-center/releases/download/0.5.0/service-center-0.5.0-linux-amd64.tar.gz
      tar xvf service-center-0.5.0-linux-amd64.tar.gz
      
    2. Start local service center command:
      bash service-center-0.5.0-linux-amd64/start.sh
      

    NOTE:The OS must be 64-bit.

  2. Start from Docker

docker pull servicecomb/service-center
docker run -d -p 30100:30100 servicecomb/service-center:latest

NOTE: Running Service Center will bind on: http://127.0.0.1:30100
If using Docker Toolbox,command docker-machine ip can be used to get binded IP address.