-= This project has been archived =-
masterfirefoxos
The Master Firefox OS Website https://wiki.mozilla.org/Websites/Master_Firefox_OS
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
Note that this will probably not work with boot2docker, as the volumes will not get mounted.
Docker for deploying to production
-
Add your project in Docker Registry as Automated Build
-
Prepare a 'env' file with all the variables needed by dev, stage or production.
-
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