outline-server/src/server_manager
2020-05-08 15:16:54 -04:00
..
cloud Clear unused imports and variables (#473) 2019-08-21 14:21:30 -04:00
electron_app Merge branch 'master' into fortuna-webpack-polymer-loader 2020-05-06 00:24:10 -04:00
images Replaces AWS EC2 with Amazon Lightsail instructions (#614) 2020-04-14 13:58:37 -04:00
infrastructure Fix example DSN 2020-04-30 00:17:52 -04:00
install_scripts Set watchtower to update/watch only shadowbox container (#540) 2020-01-31 15:46:27 -05:00
messages Import translations (#624) 2020-04-27 18:45:45 -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
web_app Remove log messages 2020-05-08 15:16:54 -04:00
.prettierignore Use Prettier to format HTML and CSS files (#583) 2020-02-20 18:10:04 -05:00
base.webpack.js Create gallery app 2020-05-07 19:19:46 -04:00
browser.webpack.js Add support for dev server 2020-05-07 12:50:34 -04:00
css-in-js-rtl-loader.js Add comments from generate_rtl_css.js 2020-05-06 17:11:33 -04: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 Add l10n messages 2020-05-08 14:06:50 -04:00
README.md Fix babel and cleanup 2020-05-07 16:50:06 -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 Electron app:

yarn do server_manager/electron_app/run

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

BUILD_ENV=development yarn do server_manager/electron_app/run

Development Server

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

yarn do server_manager/web_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.