diff --git a/getting-started.html b/getting-started.html index 225c0afc..3cc521c8 100644 --- a/getting-started.html +++ b/getting-started.html @@ -11,17 +11,20 @@ base_url: "../"
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.
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.
-If you have another version of EiffelStudio than 7.2, you have to
+Follow these steps to download and install EWF on your computer:
EWF version 0.2 is included in EiffelStudio 7.2 and version 0.3 is included in EiffelStudio 7.3. + We recommand to use the latest EWF version (0.3 as of this writing) even if you are using EiffelStudio 7.2.
+The source code is available on Github. You can get it by running the command:
@@ -30,34 +33,7 @@ base_url: "../"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, we will adapt the root class to point to port number 9090.
-To do this, we will redefine the feature initialize as follows:
-
-class
- APPLICATION
-
-inherit
- WSF_DEFAULT_SERVICE
- redefine
- initialize
- end
-
-create
- make_and_launch
-
-feature {NONE} -- Initialization
-
- initialize
- -- Initialize current service
- do
- set_service_option ("port", 9090)
- end
-
- After one more compile, you can now launch the application and point your browser to http://localhost:9090. +
Once the project is compiled, you can launch the application and point your browser to http://localhost:9090. You should now see a simple page with Hello World.