Files
xod/packages/xod-deploy
Kirill Shumilov d2027e79b3 chore(xod): update Webpack to v3 (bundle reduced x2), update Ramda versions, prepare it for further updates
Squashed commits:
[af77987] refactor(xod-client, xod-client-browser, xod-client-electron): move common webpack config into xod-client, and extend it with specific options in other endpoint clients (browser/electron)
[ddae62d] chore(xod): update `hm-def` to latest `0.2.1` version (that uses the same Ramda version)
[5d80680] chore(xod): prepare all Ramda imports and some functions to migrate to 0.25.1 to be optimized better by tree-shaker (0.25.0 already has a features for better tree shaking, but it has a lot of bugs and perfomance regressions, so we’ll stay at 0.24.1 for a while)
[9c05d6c] chore(xod-client-browser, xod-client-electron): enable UglifyJS webpack plugin to eliminate dead code and minify bundle (7.8MB -> 3.8MB)
[cafbfcf] chore(xod, xod-client-browser, xod-client-electron): update webpack to version 3, update loaders,
2017-12-29 13:31:32 +03:00
..
2017-12-26 15:56:11 +03:00

xod-deploy

This package is a part of the XOD project.

The package provides cloud compilation feature.

Development

This package uses web socket server to compile code and http server to get upload config for boards. It uses a default URLs, that coded in the constants, but for better development experience it could be changed by environment variables.

  • XOD_CLOUD_UPLOAD_CONFIG_URL — URL, that returns upload config for a board. Board identifier is appended at the end of the url, so https://compile.xod.io/upload/ will be used like https://compile.xod.io/upload/uno

  • XOD_CLOUD_COMPILE_URL — URL for web socket server. E.G. wss://compile.xod.io/compile