Coder Social home page Coder Social logo

fireplace's Introduction

Fireplace

Fireplace is a packaged version of the Firefox Marketplace's front-end.

Installation

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

Usage

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).

Bugs

  • If new templates or less files are added, they will not be recognized until the damper is restarted. Deleted files may also cause problems.

Missing Features

  • numberfmt doesn't work (should probably be integrated with L10n pluralization)
  • WebActivity support has not yet been added.
  • Review replies

fireplace's People

Contributors

mattbasta avatar cvan avatar

Watchers

Potch avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.