Fireplace/Building

From MozillaWiki
Jump to: navigation, search
Please do not edit this page unless you are on the Fireplace team. Your feedback and comments are welcomed on the discussion page.

Getting Prerequisites

You need to setup the environment and tools before you get to start with fireplace. Different platform requires different methods to setup fireplace.

NodeJs/npm

OS X
brew install node And make sure that /usr/local/share/npm/bin is in your $PATH export PATH=/usr/local/share/npm/bin:$PATH

For all other platforms check the wiki page of nodejs

Flask

Make sure you have the latest python and pip installed on your system then run the following command on your terminal: pip install flask

Fireplace

Download or clone the latest copy of fireplace from github, make sure to keep pulling or updating the copy of fireplace from github. git clone https://github.com/mozilla/fireplace.git

Dependencies

Fireplace depends on many nodejs packages that are required to get it running. To install all the packages just issue the simple command on your terminal(make sure you are in the root directory of fireplace source) npm install This will install all the dependencies of fireplace.