Panic - amark/gun GitHub Wiki

Please see this GitHub repo for general documentation.

PANIC Test Quick Start Guide

Initial Setup

Clone Gun, install dependencies and link globally:

cd <gun root>
npm install
npm link

Addition Setup

Every time node packages change, you need to run the following:

cd node_modules/panic-client
npm link gun

Running a PANIC Test

For example, if you want to run the test load.js:

cd <gun root>
npm run test test/panic/load.js

Troubleshooting

If:

  • You see Server error: Cannot find module 'gun'; or
  • The test 1) GUN has spawned! fails (indicated by red color);

then go back to setup.

If you see 1) Uncaught error outside test suite, make sure there are no other Gun servers (or other services) running on the same port(s) and try again.

Feel free to jump on http://chat.gun.eco if you get stuck.

⚠️ **GitHub.com Fallback** ⚠️