Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smokku/traffx
Auto-scaleable XMPP server for The Cloud in Node.js
https://github.com/smokku/traffx
cloud daemon jabber javascript nodejs server xmpp
Last synced: 11 days ago
JSON representation
Auto-scaleable XMPP server for The Cloud in Node.js
- Host: GitHub
- URL: https://github.com/smokku/traffx
- Owner: smokku
- License: mit
- Created: 2018-01-20T23:06:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:21:16.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T19:04:04.513Z (30 days ago)
- Topics: cloud, daemon, jabber, javascript, nodejs, server, xmpp
- Language: JavaScript
- Homepage:
- Size: 613 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Development
The main tool used to run code of the server during development are tests.
Assuming the test you are focusing on is in test/foo.js, enable this test only
by editing the file as so:test.only.cb('foo test', t => ...
and run this specific file:
env DUMP_EXCEPTIONS=1 DEBUG="traffic:*,xmpp:*,junction" ./node_modules/.bin/ava --timeout=5s --watch -v test/foo.js
This will continously run your test and re-run every file modification.
`DUMP_EXCEPTIONS` causes Errors thrown and/or returned as packet errors to be
dumped with stack trace on the console.
`DEBUG` enables specific debug categories.After finishing your changes, remove `.only` from your test and run all tests
with:npm test