Panic - amark/gun GitHub Wiki
Please see this GitHub repo for general documentation.
Clone Gun, install dependencies and link globally:
cd <gun root>
npm install
npm linkEvery time node packages change, you need to run the following:
cd node_modules/panic-client
npm link gunFor example, if you want to run the test load.js:
cd <gun root>
npm run test test/panic/load.jsIf:
- 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.