2015-07-15 12:55:19 +00:00
|
|
|
[WAI] compliant web development server for haskell web frameworks.
|
|
|
|
### NOTE: NOT limited to yesod.
|
|
|
|
|
2015-06-04 08:26:59 +00:00
|
|
|
# Yesod-devel
|
2015-07-05 17:12:10 +00:00
|
|
|
|
|
|
|
#Usage
|
2015-07-15 12:55:19 +00:00
|
|
|
At the core of your WAI application have an **Application.hs** file whose `main` function is of type `IO ()`.
|
|
|
|
|
|
|
|
If the yesod-devel binary is in your PATH call `yesod-devel` from terminal.
|
|
|
|
|
|
|
|
It will start a development server at port 3000.
|
|
|
|
|
|
|
|
An expample web application is in the [examples/] subdir.
|
2015-07-05 17:12:10 +00:00
|
|
|
|
2015-07-15 12:55:19 +00:00
|
|
|
To run this you need the github (latest) version of ide-backend.
|
|
|
|
More specifically from [this version] onwards.
|
2015-07-05 17:12:10 +00:00
|
|
|
|
|
|
|
|
2015-07-15 12:55:19 +00:00
|
|
|
### Up next
|
|
|
|
Functionality to read configs from a config file.
|
2015-07-05 17:12:10 +00:00
|
|
|
|
2015-06-04 08:26:59 +00:00
|
|
|
|
2015-07-15 12:55:19 +00:00
|
|
|
[WAI]: www.yesodweb.com/book/web-application-interface
|
|
|
|
[this version]: https://github.com/fpco/ide-backend/tree/19561d9ff5f496d6556f38992bc8d08896d54091
|
|
|
|
[examples/]:
|