Chrome extension users: help page now available here --> https://lxieyang.github.io/project-KAP/
- Make sure you have Git on your machine and your ssh-keys are properly set up on your Github account.
- Make sure you have the latest version of
npm
installed on your machine. To install, download and install the latest LTS (stable) version ofNode.js
. Then runnpm install -g npm
from a command line window (If you are on a Mac, you might want to addsudo
to the command to make sure you have proper permissions to installnpm
globally).
- Clone the repository by running
git clone git@github.com:lxieyang/project-KAP.git
. - Download
secrets.user.js
from the#kap-dev
channel in the Kittur Lab Slack Team. Place the file under/shared-components/src
. Make sure the name of the file is exactlysecrets.user.js
, as downloaded files from Slack may see changes of names sometimes. - Switch to the correct branch you are working on. For example, run
git checkout newchapter
to switch to thenewchapter
branch. - Under the directories
chrome-extension
,shared-components
, andtable-showoff
, run commandsrm -rf node_modules
followed byrm package-lock.json
andnpm install
- Change directory into
chrome-extension
, runnpm start
. - Load your extension on Chrome following:
- Access
chrome://extensions/
- Check
Developer mode
- Click on
Load unpacked extension
- Select the
build
folder underchrome-extension
directory.
- Access
- Have fun.
...to be continued :-)