No description, website, or topics provided.
JavaScript CoffeeScript CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
publishing
src
test/models
.bowerrc
.editorconfig
.gitignore
Dockerfile
Gulpfile.coffee
LICENSE
README.md
bower.json
coffeelint.json
karma.defaults.coffee
package.json
pre-commit.sh
server.coffee

README.md

Flak Cannon Client Build Status

screenshot

Install

$ npm install
$ npm run build

Start

Make sure the Flak Cannon Server is running somewhere.
PUBLIC_FC_API_URL should be the path to the server

NODE_ENV=production PUBLIC_FC_API_URL=http://localhost:3001 npm start

Contributing

Install pre-commit hook

ln -s ../../pre-commit.sh .git/hooks/pre-commit

Commands

  • npm run dev - Start the debug server, watching files
  • npm run mock - Start the debug server, mocking server requests via src/coffee/mock.coffee
  • npm test - Run the test suite (opens Chrome and Firefox)
  • npm start - Start the debug server, serving from ./build
  • NODE_ENV=production npm start - Start the debug server, serving from ./dist
  • npm run build - Compiles + Minifies assets -> ./dist

Dev Environment

Editor: Atom.io

Plugins

  • Stylus
  • editorconfig
  • linter
  • linter-coffeelint
Google Chrome

Plugins