Skip to content

About

Firefox OS open web app template with localisation using Middleman.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

FFOS app template

Firefox OS open web app template with localisation using middleman.

About tools

  • MiddleMan is used for preprocessing:
    • Slim to Html
    • SCSS to CSS
    • CoffeeScript to JavaScript
    • Concatenate and minify everything

You may remove slim/scss/coffee from filenames if you don't want to use them.

Note

  • You will need ruby and bundler: gem install bundler
  • I advise to swap CACHE and NETWORK in manifest.appcache while developping.
  • Do not forget to unswap them before building and deploying your app.

How to build and deploy your app'

  • Fork this repo
  • git clone your repo
  • bundle install to install dependencies
  • middleman server to test the app in your browser
  • rake build to compile everything
  • rake deploy to deploy on Github pages
  • https://bahanix.github.io/ffos-middleman/

Known limitations

  • Hosted app can't do XHR or any privileged action.
  • If you need to, use the generated build/app.zip to publish your app.

Test with your device or simulator

About

Firefox OS open web app template with localisation using Middleman.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages