Project archived message
The Master Firefox OS Website https://wiki.mozilla.org/Websites/Master_Firefox_OS
Documentation can be found at http://masterfirefoxos.rtfd.org/.
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.
_build/html
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.
make livehtml
Note that this will probably not work with boot2docker, as the volumes will not get mounted.
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
A newrelic.ini file is already included. To enable NewRelic monitoring add two enviroment variables:
See the full list of supported environment variables.
-= 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:
The resulting docs can be located under the
_build/htmldirectory.You can also run
make livehtmlto 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:
See the full list of supported environment variables.