Skip to content

poldracklab/crn_app

Repository files navigation

CRN APP

Usage

Requirements:

Node v4.4.1 (LTS) gulp-cli (npm install -g gulp-cli)

Configure:

Copy or move config.example to config.js and replace the values with your own. If you prefer to use environment variables in production you can set the values in config.js equal to process.env.YOUR_VARIABLE_NAME and running gulp build will attempt to replace those based on your current environment.

Install the dependencies:

run npm install

Development mode with livereload:

run gulp

When you are done, create a production ready version of the JS bundle:

run gulp build

To run the linting command:

run npm run lint path/to/file

To run the scss linting command:

install gem install scss_lint

run scss-lint path/to/file