You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have [Vagrant](https://www.vagrantup.com/), it's as simple as
20
-
21
-
vagrant up
22
-
23
-
The Vagrant provisioning script will start hoverfly in the background in ["virtualize" mode](#virtualize), pass the logging output to "hoverfly.log" and save the Hoverfly PID into a file ("hoverfly_pid"). So if you ssh into the Vagrant box, you can examine the "hoverfly.log" file, and you kill the Hoverfly process easily with:
24
-
25
-
kill -SIGTERM $(cat hoverfly_pid)
26
-
27
18
### Build it yourself
28
19
29
-
Use [Glide](https://github.com/Masterminds/glide) to fetch the dependencies (or you can also use _git submodule init_) with:
20
+
Use [Glide](https://github.com/Masterminds/glide) to fetch the dependencies (or you can also use _git submodule init_) with:
30
21
31
22
glide up
32
23
@@ -37,17 +28,17 @@ Then build Hoverfly:
37
28
And run it:
38
29
39
30
./hoverfly
40
-
31
+
41
32
### Pre-built binary
42
33
43
34
Pre-built Hoverfly binaries are available [here](https://github.com/SpectoLabs/hoverfly/releases/).
44
-
You may find it easier to download a binary - however since the Hoverfly admin UI requires static files you will need
35
+
You may find it easier to download a binary - however since the Hoverfly admin UI requires static files you will need
45
36
to clone the Hoverfly repo first, and then copy the binary to the Hoverfly directory before executing it.
46
-
37
+
47
38
## Admin UI
48
39
49
-
The Hoverfly admin UI is available at [http://localhost:8888/](http://localhost:8888/). It uses the [API](api)
50
-
(as described below) to change state. It also allows you to wipe the captured requests/responses and shows the number
40
+
The Hoverfly admin UI is available at [http://localhost:8888/](http://localhost:8888/). It uses the API
41
+
(as described below) to change state. It also allows you to wipe the captured requests/responses and shows the number
51
42
of captured records. For other functions, such as export/import, you can use the API directly.
52
43
53
44
## Hoverfly is a proxy
@@ -65,7 +56,7 @@ You can specify which site to capture or virtualize with a regular expression (b
0 commit comments