outline-server/src/server_manager
2023-11-16 17:53:11 -05:00
..
cloud fix(manager): specify a higher per_page for DigitalOcean API call (#1113) 2022-10-05 04:11:37 -04:00
electron_app fix(manager/electron): separate main and renderer sentry libraries 2023-11-16 17:53:11 -05:00
images fix(manager): removes special case for manager connection key (#1138) 2022-08-16 10:05:31 -04:00
infrastructure chore(manager): clean up Manager errors (#1151) 2022-08-23 20:19:05 -04:00
install_scripts fix: improve Docker container existence detection in install_server.sh 2023-09-28 16:28:50 -04:00
messages chore: add new translations (#1394) 2023-09-22 17:23:49 -04:00
model feat: add getAccessKey method to the management API(#1142) 2023-01-18 12:04:36 -06:00
scripts feat(manager/electron): support windows cloud signing (#1360) 2023-06-30 22:35:38 -04:00
types fix(manager): 💊 integrate with the latest Sentry library (#1309) 2023-03-16 16:33:20 -04:00
web_app fix(manager/electron): separate main and renderer sentry libraries 2023-11-16 17:53:11 -05:00
base.webpack.js chore: upgrade webpack to v5 to support lts/hydrogen (#1422) 2023-10-11 10:44:36 -04:00
browser.webpack.js Migrate to eslint 2022-03-10 01:50:59 +00:00
css-in-js-rtl-loader.js Format remaining files 2022-03-10 02:25:48 +00:00
electron_and_karma_chromium.spec.ts build(devtools/build): 👷 exclude jsign.jar from the repository (#1263) 2023-01-06 19:07:40 -05:00
electron_main.webpack.mjs fix(manager): 💊 integrate with the latest Sentry library (#1309) 2023-03-16 16:33:20 -04:00
electron_preload.webpack.mjs fix(manager): 💊 integrate with the latest Sentry library (#1309) 2023-03-16 16:33:20 -04:00
electron_renderer.webpack.js Migrate to eslint 2022-03-10 01:50:59 +00:00
gallery.webpack.js Format remaining files 2022-03-10 02:25:48 +00:00
index.html Convert to Polymer 3 2020-04-30 01:16:56 -04:00
package.json fix(manager/electron): separate main and renderer sentry libraries 2023-11-16 17:53:11 -05:00
README.md feat(manager): upgrade DigitalOcean image (#1148) 2022-08-22 15:00:16 -04:00
test.action.sh Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
tsconfig.json Avoid passing objects across the boundary 2022-03-25 13:44:36 -04:00

Outline Manager

Running

To run the Outline Manager Electron app:

npm run action server_manager/electron_app/start ${PLATFORM}

To run the Outline Manager Electron app with a development build (code not minified):

BUILD_ENV=development npm run action server_manager/electron_app/start ${PLATFORM}

Where ${PLATFORM} is one of linux, macos, windows.

Development Server

To run the Outline Manager as a web app on the browser and listen for changes:

npm run action server_manager/web_app/start

We have a server app to for quickly iterating on UI components. To spin it up, run

npm run action server_manager/web_app/start_gallery

Changes to UI components will be hot reloaded into the gallery.

Debug an existing binary

You can run an existing binary in debug mode by setting OUTLINE_DEBUG=true. This will enable the Developer menu on the application window.

Packaging

To build the app binary:

npm run action server_manager/electron_app/build ${PLATFORM} -- --buildMode=[debug,release]

Where ${PLATFORM} is one of linux, macos, windows.

The per-platform standalone apps will be at build/electron_app/static/dist.

  • Windows: zip files. Only generated if you have wine installed.
  • Linux: tar.gz files.
  • macOS: dmg files if built from macOS, zip files otherwise.

Error reporting

To enable error reporting through Sentry for local builds, run:

export SENTRY_DSN=[Sentry development API key]
npm run action server_manager/electron_app/start ${PLATFORM}