PBooru icon indicating copy to clipboard operation
PBooru copied to clipboard

Proper documentation

Open DonaldTsang opened this issue 5 years ago • 3 comments

Is it possible to write up some documentation for how to setup PBooru (both IPFS and TOR/I2P)?

DonaldTsang avatar Nov 14 '18 11:11 DonaldTsang

Sure I'll do some documentation after merging #2. I would recommend using the postgres branch even tough I haven't tested it thoroughly yet.

The quick gist of it is:

Install and init an IPFS Daemon (https://github.com/ipfs/go-ipfs, https://dist.ipfs.io/#go-ipfs). Configure the API Address so it is accessible from the PBooru server.

Install a postgresql server (https://postgresql.org). Create an account and a database.

go get -d gtihub.com/kycklingar/PBooru Build the software (build.bat / build.sh) Run the PBooru executable Kill PBooru (ctrl+c) Edit the newly created config at "out/config.cfg". Use this as a guide https://github.com/kycklingar/PBooru/tree/postgres/out/example-config.cfg

Run it again. Enter a password for the admin account. You should now be able to access your local PBooru site (if using the default values) on http://localhost:80

To use with Tor just point the "HiddenServicePort 80 127.0.0.1:80" to whatever is in the config. Same goes for I2p. You can use Nginx in between (Tor >> Nginx >> PBooru) for logging and finer configuration.

Let me know if something is unclear.

Kycklingar avatar Nov 14 '18 14:11 Kycklingar

@Kycklingar so do you have any contacts/forums?

DonaldTsang avatar Nov 19 '19 14:11 DonaldTsang

@DonaldTsang no not really. Beside github I have an extremely active mastodon account: https://mastodon.social/@kycklingar

Kycklingar avatar Nov 20 '19 01:11 Kycklingar