@@ -48,15 +48,8 @@ Onionspray have optional requirements, depending on what you want to do:
## Preparation
To ensure all software is properly built, make sure that `/sbin` is available
at your `$PATH` environment variable[^path-env].
If unsure, you can safely run the following command:
export PATH=$PATH:/sbin
You main also want to add the `onionspray` folder into your `$PATH`, so you
can invoke Onionspray anywhere:
You main want to add the `onionspray` folder into your `$PATH`, so you can
invoke Onionspray anywhere:
export PATH=$PATH:/path/to/onionspray
@@ -72,12 +65,6 @@ Or instead of invoking by it's full path name, such as
/path/tonionspray/onionspray
[^path-env]:This is especially valid for LuaJIT, whose compilation [might fail
if /sbin is not on $PATH][] with the `you need to have ldconfig in your PATH
env when enabling luajit` error message.
[might fail if /sbin is not on $PATH]:https://stackoverflow.com/questions/75568064/openresty-you-need-to-have-ldconfig-in-your-path-env-when-enabling-luajit
## Per-platform installation
Onionspray is installed directly from it's [repository][].
@@ -90,6 +77,15 @@ Onionspray is installed directly from it's [repository][].
Check issue [tpo/onion-services/onionspray#33][] for details.
!!! tip "Keeping the source code"
By default, the Onionspray build procedures will cleanup all dependencies'
source code after compilation.
Use the `--keep-sources` flag on the build scripts to preserve the sources,
which can be helpful for debugging, testing and other tinkering. Builds
running a second time with this flag tends to complete faster.