README.txt 915 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Synchronous collaboration for drawio.
  2. Steps to run server
  3. -------------------
  4. - Install NodeJS and NPM
  5. - In 'lib' dir, run:
  6. cd lib
  7. npm i serve-handler ws uuid
  8. - Setup server state directory.
  9. mkdir /desired/path
  10. mkdir /desired/path/ops
  11. mkdir /desired/path/branches
  12. - In root dir, run:
  13. DRAWIOSTATEDIR=/desired/path node lib/versioning/run_server.js
  14. The server will also act as a static file server, hosting the drawio web app. Default port is 8700.
  15. Steps to build + run client
  16. ---------------------------
  17. - Build SCCD model:
  18. cd lib/versioning
  19. python -m sccd.compiler.sccdc -l javascript -p eventloop client.xml -o client.js
  20. - Browserify plugin:
  21. cd src/main/webapp/plugins/cdf
  22. browserify versioning.js > versioning.browser.js
  23. - Make sure server is running and navigate to
  24. http://localhost:8700/src/main/webapp?dev=1&p=versioning