From 2e35f5519c0f355b2ffe82276bba42b323fa70d5 Mon Sep 17 00:00:00 2001 From: Olivier Ligot Date: Mon, 3 Jun 2013 10:11:29 +0200 Subject: [PATCH] Getting started guide: work in progress (#27) --- getting-started.html | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/getting-started.html b/getting-started.html index f79e45cc..d92ae97e 100644 --- a/getting-started.html +++ b/getting-started.html @@ -21,10 +21,33 @@
-

Getting Started

-

- ... -

+ +

This page will help you to get started with EWF. + We will first see how to install EWF and then how to compile and run the venerable Hello World example.

+

Installation

+

EiffelStudio 7.2

+

EWF is already included in EiffelStudio 7.2: you don't have to do anything in this case! + This is the recommanded solution if you are a new developer or are new to Eiffel.

+

Other EiffelStudio versions

+

If you have another version of EiffelStudio than 7.2, you have to

+
    +
  1. dowload EWF
  2. +
  3. create a directory where you will put your custum Eiffel libraries
  4. +
  5. extract EWF in the newly created directory
  6. +
  7. define the environment variable EIFFEL_LIBRARY to point to the newly created directory
  8. +
+

Source code

+

The source code is available on Github. + You can get it by running the command:

+
git clone --recursive git://github.com/EiffelWebFramework/EWF.git
+

Hello World

+

The hello world example is located in the directory $ISE_EIFFEL/contrib/examples/web/ewf/simple. + Just double click on the simple.ecf file and select the simple target or if you prefer the command line, run the command:

+
estudio -config simple.ecf -target simple
+

Once the project is compiled, you can launch it and point your browser to http://localhost:9090. + You should now see a simple page with Hello World.