Skip to content

Mahoney/wiremock-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiremock-heroku

A simple way to deploy WireMock on to Heroku

Prerequisites

Instructions

TLDR:

git clone [email protected]:Mahoney/wiremock-heroku.git && \
cd wiremock-heroku && \
./wiremock-heroku.sh <unique_app_name>

For those who want to understand:

  • Clone this repository
git clone [email protected]:Mahoney/wiremock-heroku.git
cd wiremock-heroku
  • Add a heroku remote
heroku create <unique_app_name>
heroku config:set 'NO_PRE_DEPLOY=true'
heroku buildpacks:set https://github.com/energizedwork/heroku-buildpack-runnable-jar
  • Start the app
git push heroku master
  • Check it
curl http://<unique_app_name>.herokuapp.com/__admin/mappings/new \
-d '{ "request": { "url": "/", "method": "GET" }, "response": { "body": "This is WireMock running on Heroku\n" }}'
curl http://<unique_app_name>.herokuapp.com/

About

A simple way to deploy WireMock on to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages