Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
=== Initial Repo Setup ===
This setup only needs to be done once. This will set up structure for all repos built for your HDA.
* Enable Create web app ([http://wiki.amahi.org/index.php/Advanced_Settings Advanced Settings in the Amahi Dashboard (Settings-->Settings] must be enabled on HDA)* Create a web app called <strongol>repo</strongli> using From the Amahi Dashboard (Applications--main page, select '''Apps''' at the top.</li>Web App)* Open a terminal window and become <strongli>rootChoose ''Webapps''</strongli> user:{{Code|su -}}* If you want <li>Select '''New Web App''' button at the URL bottom<strong/li><nowikili>http://Enter ''repo'' for the Name (ensure the path reflects the name correctly)</nowikili><li>Choose '''Create'''</strongli> available immediately, restart hdactl:{{Code|service hdactl restart}}</ol>* Generate [http://wiki.amahi.org/index.php/Open_Terminal_as_root Open a terminal as root] user and generate <strong>index.html</strong> (OPTIONAL) to allow repo packages to be viewed via web browser):
{{Code|cd /var/hda/web-apps/repo/html
vi index.html}}
12,424

edits