silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

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

Open Miguelme opened 8 years ago

Miguelme commented 8 years ago

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

bergmark commented 8 years ago

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

Miguelme commented 8 years ago

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