mozilla

Revision 318933 of Publishing the app

  • Revision slug: Apps/Tutorials/General/Publishing_the_app
  • Revision title: Publishing the app
  • Revision id: 318933
  • Created:
  • Creator: markg
  • Is current revision? No
  • Comment change mozilla mkplc to Firefox Marketplace
Tags: 

Revision Content

Once you have finished your app, you need to do the following:

  • Deploy the app - Arrange for web hosting and get the app up and running on the web server.
  • Publish the app - Make the app available for end users to install.

Deploying the app

You need to host the app on a publicly accessible Web server, just like any other website. There are numerous ways to do this.

GitHub

If the Web app is purely static (HTML/CSS/JavaScript, but no server-side processing ), GitHub Pages is a solid hosting option. It will serve your manifest with the correct MIME type if you give it a .webapp extension.

Generic hosting solutions

For dynamic websites, use a generic hosting option (like a Web server you may already own or have access to) with the right capabilities or a hosting provider specifically tailored to the needs of your app, like Heroku or Google App Engine.

Publishing the app

Once your Web app has been deployed, you obviously want to make it installable by your intended user base. There are currently two options for publishing your app.

Submit to Firefox Marketplace

Submitting your app to the Firefox Marketplace has many advantages, such as increased publicity, no need to implement special APIs on your own Web site, and the possibility of publishing paid apps more easily.

Publish on your own website

If you want to let people install your app from a website you own, you must implement some JavaScript code on your Web site to manage installing and updating your app into users' browsers.

Revision Source

<p>Once you have finished your app, you need to do the following:</p>
<ul>
  <li>Deploy the app -&nbsp;Arrange for web hosting and get the app up and running on the web server.</li>
  <li>Publish the app -&nbsp;Make the app available for end users to install.</li>
</ul>
<h2 id="Deploying_the_app">Deploying the app</h2>
<p>You need to host the app on a publicly accessible Web server, just like any other website. There are numerous ways to do this.</p>
<h3 id="GitHub">GitHub</h3>
<p>If the Web app is purely static (HTML/CSS/JavaScript, but no server-side processing ),&nbsp;<a class="external" href="http://pages.github.com/">GitHub Pages</a>&nbsp;is a solid hosting option. It will serve your manifest with the&nbsp;<a href="/en/Apps/Manifest#Serving_from_GitHub" title="https://developer.mozilla.org/en/Apps/Manifest#Serving_from_GitHub">correct MIME type</a>&nbsp;if you give it a <code>.webapp</code> extension.</p>
<!-- comment out Dropbox reference per bug 791795
<p>Cloud storage service&nbsp;<a class="external" href="http://www.dropbox.com/" title="http://www.dropbox.com/">Dropbox</a>&nbsp;can also&nbsp;<a class="external" href="http://lifehacker.com/5528104/use-dropbox-to-share-and-host-your-web-site">be used for this purpose</a>.</p>
-->
<h3 id="Generic_hosting_solutions">Generic hosting solutions</h3>
<p>For dynamic websites, use a generic hosting option (like a Web server you may already own or have access to) with the right capabilities or a hosting provider specifically tailored to the needs of your app, like&nbsp;<a class="external" href="http://www.heroku.com/">Heroku</a>&nbsp;or&nbsp;<a class="external" href="http://code.google.com/appengine/">Google App Engine</a>.</p>
<h2 id="Publishing_the_app">Publishing the app</h2>
<p>Once your Web app has been deployed, you obviously want to make it installable by your intended user base. There are currently two options for publishing your app.</p>
<h3 id="Submit_to_Mozilla_Marketplace">Submit to Firefox Marketplace</h3>
<p><a class="link-https" href="/en-US/docs/Apps/Submitting_an_app">Submitting your app</a>&nbsp;to the Firefox Marketplace has many advantages, such as increased publicity, no need to implement special APIs on your own Web site, and the possibility of publishing paid apps more easily.</p>
<h3 id="Publish_on_your_own_website">Publish on your own website</h3>
<p>If you want to let people install your app from a website you own, you must&nbsp;<a href="/en/Apps/Apps_JavaScript_API" title="en/Apps/Apps_JavaScript_API">implement some JavaScript code</a>&nbsp;on your Web site to manage installing and updating your app into users' browsers.</p>
Revert to this revision