outline-server/src/server_manager
2020-04-27 16:07:58 -04:00
..
cloud Clear unused imports and variables (#473) 2019-08-21 14:21:30 -04:00
electron_app Remove Sentry API keys (#608) 2020-04-08 10:26:24 -04:00
images Replaces AWS EC2 with Amazon Lightsail instructions (#614) 2020-04-14 13:58:37 -04:00
infrastructure Rename normalized to normalizedLanguage 2020-04-27 15:07:50 -04:00
install_scripts Set watchtower to update/watch only shadowbox container (#540) 2020-01-31 15:46:27 -05:00
messages Replaces AWS EC2 with Amazon Lightsail instructions (#614) 2020-04-14 13:58:37 -04:00
model Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
types simplify precommit linting, always use binaries in node_modules 2019-01-07 14:54:18 -05:00
ui_components Merge branch 'fortuna-cleanup-3' into fortuna-cleanup-4 2020-04-27 16:07:58 -04:00
web_app Merge branch 'fortuna-cleanup-3' into fortuna-cleanup-4 2020-04-27 16:07:58 -04:00
.prettierignore Use Prettier to format HTML and CSS files (#583) 2020-02-20 18:10:04 -05:00
bower.json Clean up language logic 2020-04-25 20:04:56 -04:00
index.html Move <app-root> back to index.html 2020-04-27 15:47:10 -04:00
package.json Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
README.md Remove Sentry API keys (#608) 2020-04-08 10:26:24 -04:00
test_action.sh Clear unused imports and variables (#473) 2019-08-21 14:21:30 -04:00

Outline Manager

Running

To run the Outline Manager:

yarn do server_manager/electron_app/run

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:

yarn do 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

yarn do 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]
yarn do server_manager/electron_app/run

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