outline-server/src/server_manager
2020-10-09 18:43:41 -04:00
..
cloud Fix for bad/expired DigitalOcean access token issue (#743) 2020-10-07 10:19:58 -04:00
electron_app Remove extra character in generateUpdatesFilesForAllChannels (#748) 2020-10-09 18:43:41 -04:00
images Remove unused assets and code (#732) 2020-09-21 16:07:22 -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 at b63606e (#719) 2020-08-11 15:22:09 -04:00
model Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
scripts Release channels and staged releases for the manager (#736) 2020-10-01 13:58:53 -04:00
types Use more accurate language for cert trust 2020-06-15 16:50:07 -04:00
web_app Changes the text on the DO account connectivity dialog 'cancel' button to 'disconnect' (#744) 2020-10-07 13:31:22 -04: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_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 Increase Outline Manager version (#746) 2020-10-09 15:56:47 -04: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 Fix unit tests (#693) 2020-06-22 16:32:48 -04: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.