Unbabel / replicant

Synthetic application testing made easy, written in Go.
Apache License 2.0
17 stars 5 forks source link

Deployment #33

Open kbiyani33 opened 3 years ago

kbiyani33 commented 3 years ago

Hi, I am sorry I am new with Docker Compose and Go. Can someone please suggest to me how to run this application and deploy it locally and how to check the features ? Here's the steps I followed:

  1. Clone the repository
  2. sudo docker-compose up --build

This is giving the following output:

Creating network "replicant_default" with the default driver
Creating volume "replicant_data" with default driver
Pulling server (docker.io/unbabel/replicant:latest)...
latest: Pulling from unbabel/replicant
50c5b17671b8: Pull complete
91f56774ed74: Pull complete
7823a436863e: Pull complete
aacb5b5a2a91: Pull complete
68df9506142d: Pull complete
48dbd5d428ae: Pull complete
Digest: sha256:65ea53d99e54288f5b1a8a3f3b982d565871161677ae0f26648f3f8874a883a0
Status: Downloaded newer image for unbabel/replicant:latest
Creating replicant_executor_1 ... done
Creating replicant_executor_2 ... done
Creating replicant_server_1   ... done
Attaching to replicant_executor_1, replicant_executor_2, replicant_server_1
server_1    | {"level":"info","time":"2021-02-04T13:04:05.432Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/transaction","method":"POST"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/transaction","method":"GET"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/transaction/:name","method":"GET"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/transaction/:name","method":"DELETE"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/run","method":"POST"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/run/:name","method":"POST"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/result","method":"GET"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/result/:name","method":"GET"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.433Z","caller":"server/server.go:112","message":"adding handler","path":"/api/v1/callback/:uuid","method":"POST"}
server_1    | {"level":"info","time":"2021-02-04T13:04:05.434Z","caller":"cmd/server.go:117","message":"replicant server started","address":"0.0.0.0:8080"}
executor_1  | {"level":"info","time":"2021-02-04T13:04:06.346Z","caller":"web/driver.go:126","message":"chrome process created","pid":13}
executor_1  | Starting executor

I am going to localhost:8080 and it's giving me 404 error. Can someone tell me if I am doing something wrong ??

Thanks