Webapps

From Amahi Wiki
Revision as of 17:50, 19 June 2009 by Cpg (talk | contribs) (New page: Webapps are custom web applications local to your HDA. See [http://amahi.blip.tv/file/1491674/| the screencast on how to use webapps] (NOTE: it's slightly outdated - the web apps are no l...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Webapps are custom web applications local to your HDA.

See the screencast on how to use webapps (NOTE: it's slightly outdated - the web apps are no longer in their own tab - they are under Applications -> Webapps).

Creating a webapp creates a root directory (gives you the choice to change it) and a short, local dns name to conveniently access that app.

Once done, you simply proceed to the html dir of the app (the "root dir", owned by apache by default, you may have to change the permissions), and install the app as directed by the authors of the app.

You have to create your own app database if any directly with mysql.

However, we provide a little script called

   hda-create-db-and-user dbname

which creates a database and a corresponding user name for it matching (the password is also the DB and user name). Run hda-create-db-and-user -h for help on customizing the username and password as well as dropping the db and user.

Once the htmp/php/python/perl/ruby files are installed, the app should be ready to go at the url for it!