enso/app/ide-desktop/lib/client
somebody1234 aa2f72cbd0
Allow configuring Project Manager server host and port (#6774)
- Closes #6730
- Changes config to allow environment variables to override server host and port
- Adds port scanning to Electron app to ensure the PM is started at a free port

# Important Notes
- `SERVER_PORT=abcd enso.AppImage` does NOT work. It would not be difficult to implement, but it probably needs discussion on how exactly it should be implemented - for example, `SERVER_PORT` is quite a generic name, should the Electron app pass though something like `ENSO_PM_SERVER_PORT` to the PM as `SERVER_PORT` instead?

⚠️ Port scanning is *only* implemented in the JS frontend. It is not implemented:
- In Scala, because the JS/Rust code calling it needs to know the port as well. There shouldn't be any problems with adding port scanning though, if that's desired
- In Rust, because I'm not sure parsing the host and port from a string is a good idea.
- (This also applies to JS, but it *must* work in JS, and port scanning is already a dependency there so it's quite a bit easier)

- QA *will* need a new PM (`sbt buildProjectManagerDistribution` or `./run backend sbt` -> `buildProjectManagerDistribution`), and the path must be supplied as: `-engine.project-manager-path=path/to/new/pm/here`
2023-08-25 07:33:31 +00:00
..
src Allow configuring Project Manager server host and port (#6774) 2023-08-25 07:33:31 +00:00
tasks QoL code improvements for dashboard (#7022) 2023-06-19 01:02:08 +02:00
bundle.ts Convert dashboard to use esbuild (#6034) 2023-03-31 16:19:07 +02:00
dist.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
electron-builder-config.ts Allow configuring Project Manager server host and port (#6774) 2023-08-25 07:33:31 +00:00
entitlements.mac.plist Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
esbuild-config.ts Upload and download .enso-projects from the local backend (PM backend) (#7305) 2023-08-09 09:30:40 +00:00
file-associations.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
package.json Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
paths.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
start.ts Fix some dashboard issues (#6668) 2023-05-26 10:17:03 +00:00
tsconfig.json Enable typescript-eslint (#5717) 2023-03-15 03:42:14 +00:00
watch.ts Split dashboard.tsx into smaller components (#6546) 2023-07-19 11:48:39 +02:00