File: README.md

package info (click to toggle)
trapperkeeper-webserver-jetty9-clojure 1.7.0-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,156 kB
  • sloc: xml: 531; java: 120; makefile: 24; sh: 10
file content (33 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (4)
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
Sample Trapperkeeper Multiserver Web App
-----------------------------------------

To run the app, use this command:

```sh
lein trampoline run --config examples/webrouting_app/webrouting-example.conf \
                    --bootstrap-config examples/webrouting_app/bootstrap.cfg

```

Open any of

```
http://localhost:8080/foo
http://localhost:8080/bar
http://localhost:8080/baz
http://localhost:8080/goodbye
http://localhost:9000/quux
http://localhost:9000/bert

```

in your browser to see the famous Hello World message.

Open

```
http://localhost:8080/hello/[string]

```
where [string] is any string of your choosing to see a Hello message specific for
that string.