From 19557a09080ff39650f4630ec65b9f96722b07ca Mon Sep 17 00:00:00 2001 From: EinMByte Date: Fri, 18 Sep 2015 14:26:05 +0200 Subject: [PATCH] Update doc/ files to include --install. --- doc/BUILDING.md | 15 +++++++++++++++ doc/COMMANDLINE.md | 1 + 2 files changed, 16 insertions(+) diff --git a/doc/BUILDING.md b/doc/BUILDING.md index a34046d8..a6d03452 100644 --- a/doc/BUILDING.md +++ b/doc/BUILDING.md @@ -17,6 +17,21 @@ By default, the web console is located at http://localhost:7070/. For a list of cmake options, see BUILD_NOTES.md +Installing the webui +==================== + +If you build from source the webui files will automatically be copied to your + i2pd data path. +In some cases (such as when using binaries), you may have to manually install the + webui. +For this, run: + +$ ./i2pd --install=/path/to/webui + +Or, if the current directory contains a folder named "webui": + +$ ./i2pd --install + Building Unit Tests =================== diff --git a/doc/COMMANDLINE.md b/doc/COMMANDLINE.md index a867113a..7fcbd835 100644 --- a/doc/COMMANDLINE.md +++ b/doc/COMMANDLINE.md @@ -35,3 +35,4 @@ Cmdline options * --conf= - Config file (default: ~/.i2pd/i2p.conf or /var/lib/i2pd/i2p.conf) This parameter will be silently ignored if the specified config file does not exist. Options specified on the command line take precedence over those in the config file. +* --install= - Installs the webui files, see BUILDING.md for details.