Skip to content

WeAreWizards/crumpets

Repository files navigation

Crumpets

Install

$ npm install

Gulp commands

Look at the gulpfile to see the commands available but the most important one are

$ gulp # the main task that will watch/compile/reload everything
$ gulp build --type dist # creates the minified/concatenated version

(If you don't have a global gulp see [1])

Run via nix (http://nixos.org)

nix-shell -A build --command gulp

[1] If you don't have a global gulp installation use the following.

alias gulp="node ./node_modules/gulp/bin/gulp.js"

Deploy

Once the S3 bucket is available, you can use the gulp s3publish task.

You will need the secret environment variables configured. To do so decrypt the key.encrypted with the following command :

$ gpg --decrypt -o keys.exports keys.exports.gpg

And then source it

$ source keys.exports