Changes

From Amahi Wiki
Jump to: navigation, search
mkdir -p /tmp/my-webapp-test
cd /tmp/my-webapp-test
wget <nowiki>http://url-for-muy-tar-ball-or-zip-file.tgz</nowiki>
untar/unzip mytarball
mv main-dir html
then run the script here ...
**NOTE: many apps include a .htaccess file that is hidden and may cause you problems. try to remove this if needed!
== Use of inline files with EOF ==
== hda-create-db-and-user utility script ==
Utility Script for creating a MySQL MariaDB database and user for accessing the newly created database.
<small>
To drop the same database '''<small>hda-create-db-and-user -d foo</small>'''
= Make an app start when the server (re)boots =
The best way to have your app start when the computer boots/reboots is to add an entry to the crontab. Since the install scripts are run by the user 'apache', you can only add entries to apache's crontab. This means you cannot start any apps that require root privileges.
</small>
= Clean up = Have fun creating your apps. If you need something ask at in the [http://webchat.freenode.net/?channels=amahi IRC ] :)
12,424

edits