outline-server/src/server_manager
mpmcroy b193850304
Rename adminEmail to digitalOceanAccountName (#839)
* Renames adminEmail to digitalOceanAccountName

* Minor typo
2021-03-04 16:59:04 -05:00
..
cloud Repurposes TokenManager as CloudAccounts (#827) 2021-02-19 16:30:54 -05:00
electron_app Replaces TokenManager with CloudAccounts (#829) 2021-02-24 12:59:04 -05:00
images Update Outline and Jigsaw logos (#740) 2020-11-10 10:25:15 -05:00
infrastructure Fix example DSN 2020-04-30 00:17:52 -04:00
install_scripts Merge pull request #834 from Jigsaw-Code/bemasc-shellcheck 2021-03-01 13:05:16 -05:00
messages Internationalize the label for the default data limit input (#796) 2021-01-14 19:32:41 -05:00
model Replaces TokenManager with CloudAccounts (#829) 2021-02-24 12:59:04 -05:00
scripts Require scripts to be shellcheck-compliant 2021-02-17 11:57:32 -05:00
types Ensure that Karma and Electron use the same Chromium version (#803) 2021-02-01 13:04:56 -05:00
web_app Rename adminEmail to digitalOceanAccountName (#839) 2021-03-04 16:59:04 -05:00
.prettierignore Use Prettier to format HTML and CSS files (#583) 2020-02-20 18:10:04 -05:00
base.webpack.js Merge branch 'master' into fortuna-dev-gallery-app 2020-05-08 16:28:03 -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_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 Internationalize units and currency (#780) 2021-02-04 18:47:45 -05:00
README.md Add instructions for using the gallery server in the README (#679) 2020-06-04 10:55:23 -04:00
test_action.sh Require scripts to be shellcheck-compliant 2021-02-17 11:57:32 -05:00
tsconfig.json Fix unit tests (#693) 2020-06-22 16:32:48 -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

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

yarn do server_manager/web_app/run_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:

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.