Skip to content
Permalink
Browse files

Updated docs

  • Loading branch information...
Duco
Duco committed Feb 24, 2019
1 parent fcbab53 commit 2583690c4278d22fa9e892f5461c2790b99d00ec
Showing with 13 additions and 5 deletions.
  1. +7 −3 README.md
  2. +5 −1 docs/INSTALL.md
  3. +1 −1 vagrant/mac/Vagrantfile
@@ -11,16 +11,20 @@
Quickly mock away any webservice using HttPlaceholder. HttPlaceholder lets you specify what the request should look like and what response needs to be returned.

# Where?
* Install as dotnet tool<br />
* Install as dotnet tool<br />
`dotnet install --global httplaceholder`
* Install on Windows<br />
* 🗔 Install on Windows<br />
```powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/Install-Windows.ps1'))
```
* Install on Linux<br />
* 🐧 Install on Linux<br />
```bash
curl -o- https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/install-linux.sh | bash
```
* 🍎 Install on Mac OS X<br />
```bash
curl -o- https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/install-mac.sh | bash
```

# Why?
At my current job, we develop and maintain a lot of web applications. These web applications have a lot of dependencies on other web services. So I thought: instead of running all these dependent web services on the local dev machine, why not use a stub to make development easier? That's exactly what I did.
@@ -18,7 +18,11 @@ If you would like to expose HttPlaceholder to the outside world, I would recomme

## 🍎 Mac

I haven't got access to Mac OS, so I haven't managed to test HttPlaceholder on Mac yet, but it (probably) should work. Download the latest Mac OS artifacts from the releases tab, extract it and it should run.
To install HttPlaceholder on Mac OS X, run the following command in your terminal (make sure you're running as administrator):

```bash
curl -o- https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/install-mac.sh | bash
```

## 🗔 Windows

@@ -1,7 +1,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.synced_folder "./../..", "/vagrant", type: "nfs"
config.vm.synced_folder "./../../scripts", "/vagrant", type: "rsync"
config.vm.box = "jhcook/macos-sierra"
config.vm.network :forwarded_port, guest: 5000, host: 4567

0 comments on commit 2583690

Please sign in to comment.
You can’t perform that action at this time.