P2PSP server implementation
- Clone the repo -
git clone https://github.com/agauniyal/crossroads
- Install required dependencies
cd crossroads && npm install --production
(for yarn, replacenpm install
withyarn
and keep the--production
flag as it is) - Start the server -
npm start
(for yarn, useyarn start
)
Make sure you have latest node version (node v8 currently), though it should work with v7 as well. Crossroads is continously tested on Travis CI against Node v8 and latest Node version.
- Clone the repo -
git clone https://github.com/agauniyal/crossroads
- Install required dependencies
cd crossroads && npm install
(for yarn, replacenpm install
withyarn
) - Start the server -
npm run dev
(for yarn, useyarn dev
) - Make changes, update test files in
tests
directory and run tests -npm test
oryarn test
- At the end, make sure to generate docs via -
npm run gen-docs
andnpm run gen-docs-html
command (for yarn -yarn gen-docs
andyarn gen-docs-html
)
Make sure to check out auto-generated documentation as well.