Skip to content
Chris James edited this page Jun 18, 2019 · 28 revisions

If you have go installed

go get github.com/quii/mockingjay-server/

If you're unfamiliar with installing software via go get, you should check out https://golang.org/doc/code.html. When you do go get it will install it at $GOPATH/bin, so for convenience you should have that in your $PATH

If you'd like to use a Docker Image

docker run --rm=true -p 8080:8080 -v ${PWD}/example.yaml:/example.yaml quii/mockingjay-server:1.11.1 -config=/example.yaml -port=8080

It works really nicely with Docker Compose

fakeAPI:
  image: quii/mockingjay-server:1.11.1
  volumes:
    - ./test/fakes:/fakes
  command: -config=/fakes/api.yaml
  ports:
   - "9090:9090"

Or if you just want to download a binary

https://github.com/quii/mockingjay-server/releases

Yup, you don't need any other brew, npm, or god knows what else!