outline-server/src/server_manager
Jonathan Cohen 07ff4524b5
Fill out GCP server creation instructions (#570)
* Add a new section for the 'Create your Server' directions

* Adjust step numbers depending on which cloud provider is selected.

* Add GCP account creation instructions

Screenshots and i18n will wait until the instructions themselves have
been reviewed and finalized.

* Add directions for creating a new VM isntance.

There is still no recommendation for machine type, and i18n won't be
finished until the directions are reviewed and approved by the team

* Specify f1-micro machine type

Looking at Prometheus for some large servers showed that we never get
above a few hundred megabytes in memory usage and don't go anywhere near
the 10 GB of disk space's worth of virtual memory + persistence.

* Re-order instructions to create the firewall rule before the VM

This way there is no separate assignment step

* Format with Prettier

* Respond to code review

Most importantly, removes the recommendation of CoreOS to instead use
the default Debian image.

* Respond to review comments

Use a CSS class to select the correct dropdowns to clear
Rewrite a ternary statement

* Consolidate the GCP-specific instructions in to a single dropdown

* Internationalize new messages

* Revert accidental message change

* Removed unused messages

* Use computed properties for the step numbers

* Make the translation instructions consistent with that of pre-existing messages.

* Replace placeholder assets

* Respond to review comments

* Remove a spurious comment
* Use single quotes in messages
2020-04-13 19:08:25 -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 Fill out GCP server creation instructions (#570) 2020-04-13 19:08:25 -04:00
infrastructure Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
install_scripts Set watchtower to update/watch only shadowbox container (#540) 2020-01-31 15:46:27 -05:00
messages Fill out GCP server creation instructions (#570) 2020-04-13 19:08:25 -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 Fill out GCP server creation instructions (#570) 2020-04-13 19:08:25 -04:00
web_app Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
.prettierignore Use Prettier to format HTML and CSS files (#583) 2020-02-20 18:10:04 -05:00
bower.json Settings page improvements (#567) 2020-02-04 17:00:29 -05:00
index.html i18n: mirror UI for RTL languages, detect user locale (#463) 2019-08-28 11:11:13 -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.