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
Copy file name to clipboardExpand all lines: readme.md
+1-54Lines changed: 1 addition & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,57 +7,4 @@ With Webhook.site, you can easily test HTTP webhooks and other types of HTTP req
7
7
8
8
Upon visiting the app, you get a random URL to send your requests and webhooks to, and they're all logged in the app – instantly. Check it out at [https://webhook.site](https://webhook.site).
9
9
10
-
Built by Simon Fredsted ([@fredsted](https://twitter.com/fredsted)).
11
-
12
-
## Acknowledgements
13
-
14
-
The app was built with Laravel for the API and Angular.js for the frontend SPA.
Version 1.1 switched to using Redis for storage. If you want to use SQLite, you can use version 1.0.
30
-
31
-
## Installation
32
-
33
-
### Docker
34
-
35
-
The provided Docker Compose file sets up a complete environment that runs the Webhook.site image and all dependencies (Redis, Laravel Echo Server, etc.). Note that if running this in production, you should probably run a Redis server that persists data to disk. The Docker image is also not tuned for large amount of traffic.
36
-
37
-
1. Run `docker-compose up`
38
-
2. The app is available on [http://127.0.0.1:8084](http://127.0.0.1:8084).
39
-
40
-
### Web Server
41
-
42
-
1. Run the following commands:
43
-
1.`composer install`
44
-
2.`cp .env.example .env` - adjust settings as needed
45
-
3.`php artisan key:generate`
46
-
2. Setup virtual host pointing to the /public folder. DigitalOcean has a guide on [how to configure nginx](https://www.digitalocean.com/community/tutorials/how-to-deploy-a-laravel-application-with-nginx-on-ubuntu-16-04#step-5-—-configuring-nginx).
47
-
48
-
### Push functionality
49
-
50
-
You can use [laravel-echo-server](https://github.com/tlaverdure/laravel-echo-server) or Pusher to enable realtime updates. Take a look at the `.env.example` on how to configure it.
51
-
52
-
For laravel-echo-server, the app expects socket.io to be available at the `/socket.io` path. This can be done with nginx like so:
53
-
54
-
```
55
-
location /socket.io {
56
-
proxy_pass http://127.0.0.1:6001;
57
-
proxy_http_version 1.1;
58
-
proxy_set_header Upgrade $http_upgrade;
59
-
proxy_set_header Connection 'upgrade';
60
-
proxy_set_header Host $host;
61
-
proxy_cache_bypass $http_upgrade;
62
-
}
63
-
```
10
+
**[Documentation at docs.webhook.site](https://docs.webhook.site)**
0 commit comments