outline-server/src/server_manager
2021-12-07 23:35:29 +00:00
..
cloud Switch GCP OAuth to Desktop mode 2021-09-09 15:04:44 -04:00
electron_app Remove deprecated buffer constructor (#1011) 2021-11-16 10:11:33 -05:00
images Add flags for all countries 2021-07-08 15:29:57 -04:00
infrastructure Make InstallState only track installation 2021-07-29 10:40:58 -04:00
install_scripts Remove deprecated buffer constructor (#1011) 2021-11-16 10:11:33 -05:00
messages 🌐 feat(loc): translation team updated some server texts 2021-12-07 23:35:29 +00:00
model Add new cloud regions for GCP 2021-08-04 17:11:27 -04:00
scripts Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
types Migrate all UI components to Typescript 2021-10-07 15:06:20 -04:00
web_app Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
.prettierignore Use Prettier to format HTML and CSS files (#583) 2020-02-20 18:10:04 -05:00
base.webpack.js Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
browser.webpack.js Add support for dev server 2020-05-07 12:50:34 -04:00
css-in-js-rtl-loader.js Move intro cards into constants 2021-07-22 11:44:26 -04:00
electron_and_karma_chromium.spec.ts Ensure that Karma and Electron use the same Chromium version (#803) 2021-02-01 13:04:56 -05:00
electron_renderer.webpack.js Add support for dev server 2020-05-07 12:50:34 -04:00
gallery.webpack.js Create gallery app 2020-05-07 19:19:46 -04:00
index.html Convert to Polymer 3 2020-04-30 01:16:56 -04:00
package.json Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
README.md Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
test.action.sh Migrate from Yarn to Node lts/gallium (#1004) 2021-11-05 16:40:34 -04:00
tsconfig.json Make state machine progress independent of the UI 2021-07-27 14:39:58 -04:00

Outline Manager

Running

To run the Outline Manager Electron app:

npm run action server_manager/electron_app/start

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

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/package_${PLATFORM}

Where ${PLATFORM} is one of linux, macos, only_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.

Releases

To perform a release, use

npm run action server_manager/electron_app/release

This will perform a clean and reinstall all dependencies to make sure the build is not tainted.

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

Release builds on CI are configured with a production Sentry API key.