Kycklingar / PBooru

The Unlicense
47 stars 1 forks source link

Proper documentation #3

Open DonaldTsang opened 5 years ago

DonaldTsang commented 5 years ago

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

Kycklingar commented 5 years ago

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.

DonaldTsang commented 4 years ago

@Kycklingar so do you have any contacts/forums?

Kycklingar commented 4 years ago

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