Changes

From Amahi Wiki
Jump to: navigation, search
1,999 bytes added ,  00:44, 17 May 2018
no edit summary
Packaging applications is through a simple web form in the contributor's area of amahi.org.
Here is a ''really old'' 10-page Powerpoint presentation [http[:File://www.scribd.com/doc/14742829/Amahi-Packaging-Applications-for-OneClick-Installation .ppt|HOWTO package an application]] (PPT) <!--([["File:Packaging-Applications-for-OneClick-Installation.pdf|PDF]])-->.
The fields in the application's form are listed below with their descriptions:
= Name for the Application =
Official name for the application. This is the name the user sees for the application. It must be unique (no repeats). Make sure the capitalization is the official capitalization of the original application. Examples: WordPress, Zina, Gallery, MediaWiki...
 
= App Home Page =
 
The URL to the app's home page, if it has one. Otherwise you can leave it blank.
= Version/Release =
= Logo URL =
Best resolution for the logo is 160x120px or multiples thereof320x240px.
It should have transparent background (for best integration in all themes).
Valid formats are png (much recommended), jpg, png and gif. The best logos are well centered with the logo covering most of the image and transparent background. They must be uploaded in the Amahi wiki and referenced in the app. Please do not reference images from other sites. If you need a quick image editor, you can use the free online image editor [http://aviary.com/apps/flash/aviary/index.aspx?tid=1&Phoenix Phoenix], by Aviary.
= Screenshot URL =
Best resolution for the screenshot is 320x240px or multiples thereof.
Valid formats are png, jpg and gif. It should have transparent background (for must not be blurry. '''Most times it's best integration to zoom in all themes)as much as possible to a representative area of the screen, not the whole screen of the app.''' They must be uploaded in the Amahi wiki and referenced in the app. Please do not reference images from other sites. Valid formats are jpgIf you need a quick image editor, you can use the free online image editor [http://aviary.com/apps/flash/aviary/index.aspx?tid=1&Phoenix Phoenix], png and gifby Aviary.
= Source URL =
= Source SHA1 checksum =
Integrity checking is done through the [http://linux.die.net/man/1/sha1sum sha1sum program]. This field is the SHA1SUM for the source file (tar.gz/tgz or zip file), obtained by running sha1sum on the source code of the app. [[Developers/sha1sum|See how with the sha1sum HOWTO]] = Suggested URL name or "short name" = Suggested DNS '''short-name'' for this app. This is only if the app has a web interface (or much less frequently, if it otherwise needs to have a DNS entry for it to work somehow). E.g. if you type <code>blog</code> in this field, the application will install and be bound to <code>http://blog</code>.
= Suggested URL name =
Suggested DNS short-name in the URL for this app. E.g. if you type blog,
the application with install with http://blog for the URL for the application.
Users will also be able to type blog in the address bar of browsers to reach the app. If this name is not available, a subsequent name will be picked, e.g. blog1.
= RPM(s) Package =This field is a list, the name of the RPM package for the application. If this name is different per distro that Amahi is supported on, it may be discerned per the [[Package naming conventions]]. = Package Dependencies =This field is a space-separated list, *preceded* by the name of any other required RPMs packages (space-separated or comma-separated).  If this list of names is different per distro that Amahi is supported on, it may be discerned per the [[Package naming conventions]]. These will be installed via yum /apt-get in one install command. Note, however, that for reliability reasons, only the main (last) RPM these will not be removed upon un-install.
= Custom Webapp Options =
This field, if filled, allows you to add custom options to this application,
'''if this app has an associated webapp.''' The values you enter here will be but in a .htaccess file.
= App Database =
= Kind of application =
Kind of application (underlying technology). Must be one of: PHPphp, Pythontheme, RoR, Perl, Plain HTMLror, ... or leave blank (this selects form a pattern of virtual host templates and needs to be more documented)
= App home page URL =
See the section on [[Application Install Scripts]]
= App Dependencies =
 
In some rare cases, some apps need other apps in Amahi to be installed first prior to being installed. This is known as an "app dependency" (contrast to package/rpm dependencies).
 
This is supported at the moment, but not exposed to the My Apps interface. Please send the team an email with this request for a dependency to be added.
= Troubleshooting =
= Releasing =
As soon as you are happy with how the app is installed please contact the core team support at team at amahi.org or in the IRC channel to review. At this stage the basic packaging is complete. You can add other users to the app as contributors to help with the app and  Return to the details on how to be an [[Application Contributor]]
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits