Code Monkey home page Code Monkey logo

83d6a4909a0c05f1e06701fae3f5be9ea8a6ec436e7bba3ba269a2455cd3766f's Introduction

darjeeling

An offline app store.

Installation

We use grunt:

npm install grunt-cli -g

Then install our dependencies:

npm install

Copy over default settings (both are necessary):

cp settings_local.js.dist settings_local.js
cp src/lite/media/js/settings_local.js.dist src/lite/media/js/settings_local.js

Development

To watch nunjucks templates and compile them on the fly:

grunt

To minify the assets for the production-ready prod.html:

grunt minify

To run the dev server:

node app.js

To load settings.js and then override those settings with those defined in settings_local.js:

node app.js --settings=settings_local

To load settings.js and then override those settings with those defined in settings_prod.js:

node app.js --settings=settings_prod

By default if the --settings flag is omitted, we default to loading settings_local. If you specify a setting other than settings_local, then settings_local will not get loaded and instead only that new setting file will get loaded.

When testing things locally, you may want to remove minified files:

find src -name '*.min.*' -delete

83d6a4909a0c05f1e06701fae3f5be9ea8a6ec436e7bba3ba269a2455cd3766f's People

Contributors

chuckharmston avatar clouserw avatar cvan avatar diox avatar maktrix avatar mozilla-github-standards avatar ngokevin avatar oremj avatar spasovski avatar vivekkiran 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.