Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Miguelme opened this issue Jul 27, 2016 · 2 comments

Comments

@Miguelme
Copy link

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
Copy link
Member

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants