Skip to content

iaxat/masterfirefoxos

 
 

Repository files navigation

-= This project has been archived =-

masterfirefoxos

The Master Firefox OS Website https://wiki.mozilla.org/Websites/Master_Firefox_OS

Docs Status Build Status

Docs

Documentation can be found at http://masterfirefoxos.rtfd.org/.

Building Documentation Locally

The instructions below assume you have Python and pip installed. It is also strongly recommended that you create and activate a virtualenv first.

If you'd like to build the documentation locally:

   pip install -r requirements.txt
   cd docs
   make html

The resulting docs can be located under the _build/html directory.

You can also run make livehtml to launch a webserver on http://127.0.0.1:8000 that auto-rebuild the documentation when any files are changed.

Docker for development

  1. Make sure you have docker and fig
  2. fig up

Note that this will probably not work with boot2docker, as the volumes will not get mounted.

Docker for deploying to production

  1. Add your project in Docker Registry as Automated Build

  2. Prepare a 'env' file with all the variables needed by dev, stage or production.

  3. Run the image:

    docker run --env-file env -p 80:80 mozilla/masterfirefoxos

NewRelic Monitoring

A newrelic.ini file is already included. To enable NewRelic monitoring add two enviroment variables:

  • NEW_RELIC_LICENSE_KEY
  • NEW_RELIC_APP_NAME

See the full list of supported environment variables.

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.0%
  • Stylus 16.2%
  • HTML 5.5%
  • JavaScript 5.2%
  • Shell 2.4%
  • Dockerfile 0.7%