- Node.js (v0.10.x or higher)
- Redis
- npm modules listed in package.json
git clone https://github.com/Kong/mockbin.git ./mockbin
cd mockbin
Install with npm:
npm install mockbin
Install with Docker
docker build -t mockbin .
To run, this image needs to be linked to a Redis container:
docker run -d --name mockbin_redis redis
docker run -d -p 8080:8080 --link mockbin_redis:redis mashape/mockbin