Create a Simple Hello World Application

Glassomium applications are stored in the /server/WebRoot/apps folder. To create a new application:

  • Create a new directory “HelloWorld” in the apps folder
  • Create a new index.html or index.htm file and place the following code:
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
</head>
<body> 
	<content>
		<h2>Hello world!</h2>
	</content>
</body>
</html>
  • Create a new directory in the same folder and rename it “assets”.
  • Place a PNG icon for your application in the assets folder and name it “icon.png”

Your folder structure should now look like this:

/server/WebRoot/apps
-- Hello World
---- index.html
---- assets
------ icon.png
  • Restart the Glassomium Server UI (or use the Launcher script to simply reboot Glassomium).

That's it! Next time you open Glassomium your application should appear in the launcher application list.