X-HTTP-Method-Override or through query string parameter: _methodinstall from source or through npm:
npm install mockbin
read more on Installation.
read more on Installation.
other than the dependencies listed in package.json The following are required:
you will need to tell mockbin where Redis is:
npm config set mockbin:redis redis://127.0.0.1:6379
By Default the server will run on port 8080, you can customize the port like so:
npm config set mockbin:port 8001
read more on Configuration.
After installing the npm package you can now start the server like so:
npm start
Usage: mockbin [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --port <port> Port that the HTTP server will run on
-r, --redis [dsn] Redis dsn
-q, --quiet Disable console logging
Read the full API documentation, please review the wiki.
Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
More over, if your pull request contains JavaScript patches or features, you must include relevant unit tests.
Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.
For transparency into our release cycle and in striving to maintain backward compatibility, this project is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to these rules whenever possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
For more information on SemVer, please visit http://semver.org/.
Content type
Image
Digest
sha256:2e7263068…
Size
290.6 MB
Last updated
almost 11 years ago
docker pull tomdesinto/mockbin