Fireplace is a packaged version of the Firefox Marketplace's front-end.
Pull submodules :
git submodule update --init
Our dependencies :
- ``lessc``: For stylesheets
- ``nunjucks``: For templates
Installation steps :
brew install node
curl http://npmjs.org/install.sh | sh
npm install lessc -g
npm install nunjucks -g
And make sure that /usr/local/share/npm/bin is in your $PATH, ร la:
export PATH=/usr/local/share/npm/bin:$PATH
If you intend to use Flue (the mocked-out API server), you will also need to have Flask and perhaps a few other packages installed. That can be set up by running :
pip install -r flue/requirements.txt
You may wish to run Flue in a virtualenv :
curl -s https://raw.github.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | $SHELL
source ~/.profile
mkvirtualenv --no-site-packages fireplace
From the terminal, run the following command :
node damper.js
This will start a local server on port 8675.
In addition to an HTTP server, the damper will also run a LESS watcher (to recompile CSS as it's edited) and a template watcher (to recompile templates as they're edited).
- If new templates or less files are added, they will not be recognized until the damper is restarted. Deleted files may also cause problems.
- numberfmt doesn't work (should probably be integrated with L10n pluralization)
- WebActivity support has not yet been added.
- Review replies