lllusion3469 4c3733ce5a Keep auth_secure cookie from deviantart
Unlike this projects, all other DA scrapers I found[0] require that both
"auth" and "auth_secure" are set.
While the current approach, for some reason, seems to have worked fine in
the past, it has stopped functioning on some systems, sometimes
permanently (apparently sometimes only temporarily).
I don't have the means to find out the reason behind that, since all
configurations I've tried (mobile, VPN, and regular connection +
4 seperate accounts) resulted in me being effectively logged out and
unable to view mature works after deleting the "auth_secure" cookie.
The "if auth_cookie" part might not actually be necessary, its only
purpose is to prevent unintended breakage due to lack of information
on my part.

[0]: b662b46a44 (diff-aab4e263d591d1c7f23d015a2e540a32R161)
     cbaecf5507 (diff-9f9821e7d744874a2fe42e0a69e4b14aR33)
2017-08-30 20:47:59 +02:00
2015-08-18 17:50:27 -07:00
2017-07-09 14:30:44 -05:00
2017-05-01 14:38:30 -07:00
2017-04-18 17:30:24 -07:00
2017-08-12 22:19:49 -05:00
2017-04-05 15:32:54 -07:00
2017-07-20 15:25:19 -07:00
2017-06-12 15:25:07 -07:00
2016-10-11 17:27:42 -07:00
2016-11-07 10:52:07 -08:00
2017-06-29 16:05:01 -07:00
2017-08-04 00:47:43 -05:00
2013-06-28 21:43:39 -07:00
2017-01-25 12:48:47 -08:00
2014-04-16 17:43:34 -07:00
2017-04-04 17:10:00 -07:00

Installation

It is recommended that you install Danbooru on a Debian-based system since most of the required packages are available on APT. Danbooru has been successfully installed on Fedora, CentOS, FreeBSD, and OS X. The INSTALL.debian install script is straightforward and should be simple to adapt for other platforms.

For best performance, you will need at least 256MB of RAM for PostgreSQL and Rails. The memory requirement will grow as your database gets bigger.

On production Danbooru uses PostgreSQL 9.4, but any 9.x release should work.

Use your operating system's package management system whenever possible. This will simplify the process of installing init scripts, which will not always happen when compiling from source.

Troubleshooting

These instructions won't work for everyone. If your setup is not working, here are the steps I usually recommend to people:

  1. Test the database. Make sure you can connect to it using psql. Make sure the tables exist. If this fails, you need to work on correctly installing PostgreSQL, importing the initial schema, and running the migrations.

  2. Test the Rails database connection by using rails console. Run Post.count to make sure Rails can connect to the database. If this fails, you need to make sure your Danbooru configuration files are correct.

  3. Test Nginx to make sure it's working correctly. You may need to debug your Nginx configuration file.

  4. Check all log files.

Amazon Web Services

In order to enable the following features, you will need an AWS SQS account:

  • Pool versions
  • Post versions
  • IQDB
  • Saved searches
  • Related tags

Google APIs

The following features requires a Google API account:

  • Bulk revert
  • Post versions report

IQDB Integration

IQDB integration is now delegated to the IQDBS service.

You will need to install your own copy and enable the appropriate configuration settings.

Listbooru Service

In order to access saved search functionality you will need to install and configure the Listbooru service.

Archive Service

In order to access versioned data for pools (and eventually posts) you will need to install and configure the Archives service.

Reportbooru Service

The following features are delegated to the Reportbooru service:

  • Related tags
  • Missed searches report
  • Popular searches report
  • Favorite searches
  • Upload trend graphs
  • Similar users (via favorites and post votes)
Description
No description provided
Readme 68 MiB
Languages
Ruby 78.3%
HTML 13.5%
JavaScript 3.5%
SCSS 2.5%
Nix 1.6%
Other 0.5%