Skip to content

Commit

Permalink
Merge branch 'master' of github.com:snapframework/snap-website
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorycollins committed Apr 14, 2012
2 parents ba1a817 + e6f12b0 commit 53ce508
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 439 deletions.
3 changes: 3 additions & 0 deletions blogdata/content/2012/03/16/snap-0.8-released.md
Expand Up @@ -7,6 +7,9 @@
The Snap team would like to announce the release of version 0.8 of the Snap
Framework.

NOTE: If you use the heist snaplet, then 0.8 will break your application. It
will still compile, but it won't work. See below for details.


## New features / improvements

Expand Down
12 changes: 8 additions & 4 deletions snaplets/heist/templates/docs/quickstart.md
Expand Up @@ -17,12 +17,15 @@ To set up a new Snap project, run the following commands:
~~~~~~ {.shell}
$ mkdir myproject
$ cd myproject
$ snap init
$ snap init barebones
~~~~~~

The `snap init` command creates a template Snap project in the current
directory. The `Main` module for this project will be created in `src/Main.hs`.
When you build this project with `cabal install`, an executable is created in
directory. You can also do `snap init -h` to see help about other project
templates that are available. For now we'll focus on the barebones project.

The `Main` module for this project will be created in `src/Main.hs`. When you
build this project with `cabal install`, an executable is created in
`$HOME/.cabal/bin` called `myproject`. To build and run the example
application, run the following commands:

Expand All @@ -33,7 +36,8 @@ $ myproject -p 8000

Now point your web browser to [http://localhost:8000/](http://localhost:8000/);
you should see a simple response string. To activate dynamic recompilation in
your project, build with "cabal install -fdevelopment".
your project, first build snap with "cabal install snap -fhint" and then
rebuild your application with "cabal clean; cabal install -fdevelopment".

For more information, continue on to the [Snap API
tutorial](tutorials/snap-api) or take a look at the [Snap
Expand Down
286 changes: 0 additions & 286 deletions snaplets/heist/templates/docs/tutorials/snap-api-new.md

This file was deleted.

0 comments on commit 53ce508

Please sign in to comment.