From Mageia wiki
Jump to: navigation, search

Procedure: Follow "How to create your first web application" from http://www.tntnet.org/quick-start-guide.html


To create a web application it is necessary to create some initial project files. This is achieved by executing tntnet-config:

tntnet-config --project=myfirstproject

This creates:

   a directory "myfirstproject"
   a source file "myfirstproject.ecpp" containing your application
   a configurationfile "tntnet.xml"
   a Makefile

To build and execute your first enter the following commands:

cd myfirstproject

make

tntnet

Now you can start your web browser and navigate to http://localhost:8000/myfirstproject.

You can see the result of your first running tntnet application, which prints the name of the application.


Return to the QA portal