From Kosmos Wiki
Jump to navigation Jump to search

This page contains helpful hints for developing and contributing to Kredits software, and which don't fit in any other README or documentation.


How to run/test locally

(Gitea hooks specific to Kosmos; replace with your own hooks for other projects.)

  1. In hubot-kredits dir: npm link
  2. In hal8000's (or any hubot repo) dir: npm link hubot-kredits
  3. In hal8000’s add local DAO address to env var near bottom of script
  4. ./ and npm run ngrok (the former gives you an interactive console/chat room, the latter catches hooks to on your machine)
  5. Activate dev webhook in
  6. Re-open and close e.g. (which is blacklisted in prod) in order to create contributions