outline-server/src/server_manager
Jonathan Cohen db6aba33b2
Use DB-IP's Geolocation database instead of MaxMind's (#557)
* Use DB-IP's free IP-to-Country database instead of MaxMind's

This avoids the necesseity to either (1) bundle MaxMind's database in
our docker image or (2) require server admins to individually create
MaxMind accounts due to the new requirements for using GeoLite2
databases.  See https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

* Add attribution to DB-IP for the GeoIP database

* Make sure that we deal with lag between the changeover of the current
month and release of new versions of the DB-IP database

* Respond to review comments

* Attribute DB-IP in the update script

* Respond to review comments

* Respond to review comments
2020-01-16 18:08:29 -05:00
..
cloud Clear unused imports and variables (#473) 2019-08-21 14:21:30 -04:00
electron_app Update electron for server_manager (#521) 2019-10-29 15:55:05 -04:00
images i18n: mirror UI for RTL languages, detect user locale (#463) 2019-08-28 11:11:13 -04:00
infrastructure suppress network errors for data usage requests (#222) 2018-08-08 14:48:09 -04:00
install_scripts Use the server config instead of env variables for the API port and the server hostname (#488) 2019-11-18 18:16:24 -05:00
messages Enable localization (#530) 2019-11-06 17:07:33 -05:00
model Deprecate server data usage timeframe API (#537) 2019-11-21 19:01:46 -05:00
types simplify precommit linting, always use binaries in node_modules 2019-01-07 14:54:18 -05:00
ui_components Use DB-IP's Geolocation database instead of MaxMind's (#557) 2020-01-16 18:08:29 -05:00
web_app Allow the port for new access keys to be editable from the UI. (#505) 2019-10-22 13:04:35 -04:00
bower.json i18n: extract strings (#446) 2019-06-20 17:38:49 -04:00
index.html i18n: mirror UI for RTL languages, detect user locale (#463) 2019-08-28 11:11:13 -04:00
package.json Fix at electron v7.0.0 (#528) 2019-11-06 17:32:50 -05:00
README.md Add debug instruction 2018-06-13 15:33:32 -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.