From b9ae700a15143eb85f25875fdfdf025cd6dbe009 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 5 Jan 2012 16:49:30 +0100 Subject: [PATCH] Fixed some language issues --- multi/blog/Yesod-tutorial-for-newbies.md | 29 +++++++++++++----------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/multi/blog/Yesod-tutorial-for-newbies.md b/multi/blog/Yesod-tutorial-for-newbies.md index ecdf3a9dc..10115d8c3 100644 --- a/multi/blog/Yesod-tutorial-for-newbies.md +++ b/multi/blog/Yesod-tutorial-for-newbies.md @@ -144,18 +144,23 @@ Once finished a server is launched and you could visit it by clicking this link: [`http://localhost:3000`](http://localhost:3000) -Congratulation! Yesod works. +Congratulation! Yesod works! -> Note: if something is messed up use the following command line: -> -> \rm -rf dist/* ; cabal-dev install && yesod --dev devel -> +
+ +Note: if something is messed up use the following command line: + + +\rm -rf dist/* ; cabal-dev install && yesod --dev devel + + +
Until the end of the tutorial, use another terminal and let this one open in a corner to see what occurs. ### Configure git -This step is not mandatory for a tutorial, but I wanted to jump directly in good practice. There are many different choice of CVS, but for this tutorial I'll use `git`. +This step is not mandatory for a tutorial, but I wanted to jump directly to good practice. There are many different choice of CVS, but for this tutorial I'll use `git`. Copy this `.gitignore` file into the `yosog` folder. @@ -179,14 +184,10 @@ Now we are almost ready to start. ### A last point -Until here it was just an installation, an initialization and a configuration. - -We have a directory containing a bunch of files and -we have a local web server that listen the port 3000. +Up until here, we have a directory containing a bunch of files and a local web server listening the port 3000. If we modify a file inside this directory, yesod should try to recompile as fast as possible the site. -This way, you should see the modification you do. Instead of explaining the role of every file, let's get straight to the point. @@ -205,8 +206,10 @@ Obviously: - `templates/` contains HTML, JS and CSS templates. - `config/models` is where you'll configure the persistent objects (database tables). -Also note until here we don't even typed any line of Haskell. -It is now time to start the interesting stuff. +During this tutorial we'll modify other files as well, +but we won't look them in detail. +Also we didn't even typed any line of Haskell. +But now, it is the time to start the interesting part. ## Echo