1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Sample Trapperkeeper Multiserver Web App
-----------------------------------------
To run the app, use this command:
```sh
lein trampoline run --config examples/multiserver_app/multiserver-example.conf \
--bootstrap-config examples/multiserver_app/bootstrap.cfg
```
Open
```
http://localhost:8080/hello
```
in your browser to see the famous Hello World message.
Open
```
http://localhost:9000/hello
```
in your browser to see the same message. Note that this is on a separate server on a different port.
Open
```
http://localhost:9000/goodbye
```
in your browser to see a "Goodbye world" message. Note that this response is NOT displayed at address
```
http://localhost:8080/goodbye
```
due to the fact that it was added specifically to the server on port 9000 and NOT the server on port
8080.
|