Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 1.59 KB

README.md

File metadata and controls

76 lines (51 loc) · 1.59 KB

prefsEditors

GPII preferences editors, responsible for authoring user preference sets.

For more background about these tools, see

Installation

  • Create a directory where you want to check out the preferences editors.
  • Navigate to that directory.
  • Run the following command
git clone https://github.com/GPII/prefsEditors

Running the preferences editors

In the new subdirectory "prefsEditors" you will find this README.md file, a few other files and a few directories.

Go to the prefsEditors directory and install its dependencies

# navigate to the prefsEditors directory
cd prefsEditors

# install dependencies
npm install

Open with default settings (running on localhost, port 5559 with default path to the connect module)

node start.js

Specifying the options of port, host and connect path:

# find available port, 
# start the webserver and
# open url in the default browser
# command: node start.js <kettle path> <host> <port>
node start.js ./node_modules/kettle/node_modules/express/node_modules/connect 127.0.0.1 5559

Development

Dependencies

All other dependencies will be installed by running the following from the project root:

npm install

Linting

# Lint all json and js files
grunt

# Lint only js files
grunt jshint

# Lint only json files
grunt jsonlint