Skip to content
Pavel Diatchenko edited this page Sep 14, 2020 · 3 revisions

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.

This wiki is where all the GUN website documentation comes from.

You can read it here or on the website, but the website has some special features like rendering some markdown extensions to create interactive coding tutorials.

Please feel free to improve the docs itself, we need contributions!

Clone this wiki locally