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.