Tutorial

RedWine Logo


 
  First Sip of Red Wine

Hello World!


Yes, we belong to the hordes of developers that like the Hello world tradition.
Let's see how to write your first Red Wine application.
Position yourself in a directory of your choice, let's say PWE, and make sure that $REDWINE/bin is in your PATH.
Issue the following:
  $ rwcreate HelloWorld  

Now open HelloWorld/HelloWorld.html with your favourite editor and write
  <H1>Hello World!</H1>  

Stop RedWine if it is running:
  $ rwstop  

deploy your application:
$ rwdeploy HelloWorld

and start RedWine again:
  $ rwstart  

That's it! Now point with your browser to
  http://localhost:8080/redwine/HelloWorld  

and celebrate with a glass of Red Wine!
SourceForge Logo   
www.gnu.org
June 07 2004


© veryredthings