Skip to content

Commit c440c65

Browse files
authored
Update readme.md
1 parent 574c48e commit c440c65

File tree

1 file changed

+1
-54
lines changed

1 file changed

+1
-54
lines changed

readme.md

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,57 +7,4 @@ With Webhook.site, you can easily test HTTP webhooks and other types of HTTP req
77

88
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).
99

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.
15-
16-
## Donate
17-
18-
* Patreon: https://www.patreon.com/webhooktester
19-
* Bitcoin address: 1Maf64K9Wkpy7oBGEtqEda8H1H2drLSUuF
20-
* Paypal: https://paypal.me/fredsted
21-
22-
## Requirements
23-
24-
* PHP 7
25-
* Redis
26-
* Composer
27-
* Web server
28-
29-
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

Comments
 (0)