silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.

Home Page:http://silkapp.github.io/rest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is no information about how to execute the rest-example or to install the framework

Miguelme opened this issue · comments

It would be really useful to have information about how to run the rest-example or how to install everything to be able to follow the tutorial

Sure, we can add this!

For now, using stack is the simplest. Building everything is just stack build and running the example is stack exec rest-example-wai (or -snap or -happstack)

With cabal sandbox you need to add-source all sub projects e.g. cabal sandbox add-source rest-example/ and then cabal install rest-example and then you run it with something like ./dist/autogen/rest-example-wai

Thanks @bergmark. How about the initialization of a rest project. Is there any helper in the stack init options ?