2017-07-10 10:17:13 +00:00
|
|
|
# Hello World Example
|
|
|
|
|
|
|
|
This is a basic 'hello world' example. It simply returns 'hello world!' when
|
2017-07-14 06:28:57 +00:00
|
|
|
making any request.
|
2017-07-10 10:17:13 +00:00
|
|
|
|
|
|
|
To run the example server, run:
|
|
|
|
|
|
|
|
```bash
|
2021-11-17 05:50:23 +00:00
|
|
|
nix-shell --run 'example HelloWorld'
|
|
|
|
```
|
|
|
|
|
|
|
|
Or, without nix:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
spago -x test.dhall run --main Examples.HelloWorld.Main
|
2017-07-10 10:17:13 +00:00
|
|
|
```
|