You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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!