Skip to content

A trivial example (the typical HelloWorld) for the EmintWeb framework

License

Notifications You must be signed in to change notification settings

JdMDE/HelloWorldEmintWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

HelloWorldEmintWeb

A trivial example (the typical HelloWorld) for the EmintWeb framework

Emintweb is described in a paper published in SoftwareX:

"EmintWeb: Creation of embedded web applications in C++ for specific systems",
Domingo, J.; Panach, I.; Dura, E.

which is available in open access:

https://www.sciencedirect.com/science/article/pii/S2352711024001808

A video to explain what is EmintWeb and that builds this example step by step is available in

https://johnford.uv.es/EmintWeb/

First, create the HelloWorld_localconf.sh executing ./setup.sh

Then, you should be able to open the project HelloWorld.emw with emitweb (File Menu --> Load Project) and change the path to the include directories and libraries if the Poco header are not installed in /usr/include/Poco or the Poco libraries or gumbo parser library are not in /usr/lib64

It is assumed that you installed EmintWeb correctly so libhtcplus.a will be in /usr/local/lib. If not, change/add the library path appropriately.

Independently of the GUI, the project can be compiled using the command-line emintweb tool as:

eiwcli HelloWorld.emw -deb -gall
cd CodeFiles
make

and executed as

CodeFiles/MainProg/HelloWorld 20000

for the single server and

CodeFiles/MainProg/HelloWorld_Server <your_hostname> 25000 25001-25100

(or any other ports/port ranges at your choice).

About

A trivial example (the typical HelloWorld) for the EmintWeb framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages