GPII preferences editors, responsible for authoring user preference sets.
For more background about these tools, see
- PCPs, PMTs, etc and
- User Preferences UX, both on the GPII wiki.
- 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
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
# 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
All other dependencies will be installed by running the following from the project root:
npm install
# Lint all json and js files
grunt
# Lint only js files
grunt jshint
# Lint only json files
grunt jsonlint