Update README.md.

Remove some outdated information and link to the install guide in the
wiki.
This commit is contained in:
evazion
2021-09-04 07:06:58 -05:00
parent e240c92d6f
commit 52847e4ce9

View File

@@ -20,37 +20,35 @@ Alternatively, if you already have Docker Compose installed, you can just do:
docker-compose -f config/docker/docker-compose.simple.yaml up docker-compose -f config/docker/docker-compose.simple.yaml up
``` ```
## Installation ## Manual Installation
It is recommended that you install Danbooru on a Debian-based system Follow the [INSTALL.debian](INSTALL.debian) script to install Danbooru.
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 The INSTALL.debian script is written for Debian, but can be adapted for other
PostgreSQL and Rails. The memory requirement will grow as your distributions. Danbooru has been successfully installed on Debian, Ubuntu,
database gets bigger. Fedora, Arch, and OS X. It is recommended that you use an Ubuntu-based system
since Ubuntu is what is used in development and production.
On production Danbooru uses PostgreSQL 9.4, but any 9.x release should See [here](https://github.com/danbooru/danbooru/wiki/Ubuntu-Installation-Help-Guide)
work. for a guide on how set up Danbooru inside a virtual machine.
Use your operating system's package management system whenever For best performance, you will need at least 256MB of RAM for PostgreSQL and
possible. This will simplify the process of installing init scripts, Rails. The memory requirement will grow as your database gets bigger.
which will not always happen when compiling from source.
In production, Danbooru uses PostgreSQL 10.18, but any release later than this
should work.
## Troubleshooting ## Troubleshooting
These instructions won't work for everyone. If your setup is not If your setup is not working, here are the steps I usually recommend to people:
working, here are the steps I usually recommend to people:
1) Test the database. Make sure you can connect to it using psql. Make 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 sure the tables exist. If this fails, you need to work on correctly
installing PostgreSQL, importing the initial schema, and running the installing PostgreSQL, importing the initial schema, and running the
migrations. migrations.
2) Test the Rails database connection by using rails console. Run 2) Test the Rails database connection by using `bin/rails console`. Run
Post.count to make sure Rails can connect to the database. If this `Post.count` to make sure Rails can connect to the database. If this
fails, you need to make sure your Danbooru configuration files are fails, you need to make sure your Danbooru configuration files are
correct. correct.
@@ -61,29 +59,21 @@ debug your Nginx configuration file.
## Services ## Services
Danbooru employs numerous external services to delegate some Danboou depends on a couple of cloud services and several microservices to
functionality. implement certain features.
For development purposes, you can just run mocked version of these
services. They're available in `scripts/mock_services` and can be started
automatically using Foreman and the provided Procfile.
### Amazon Web Services ### Amazon Web Services
In order to enable the following features, you will need an AWS SQS The following features require an Amazon AWS account:
account:
* Pool versions * Pool history
* Post versions * Post history
* Saved searches
* Related tags
### Google APIs ### Google APIs
The following features requires a Google API account: The following features require a Google Cloud account:
* Bulk revert * BigQuery database export
* Post versions report
### IQDB Service ### IQDB Service
@@ -91,25 +81,17 @@ IQDB integration is delegated to the [IQDB service](https://github.com/danbooru/
### Archive Service ### Archive Service
In order to access versioned data for pools and posts you will In order to access pool and post histories you will need to install and
need to install and configure the [Archives service](https://github.com/r888888888/archives). configure the [Archives service](https://github.com/danbooru/archives).
### Reportbooru Service ### Reportbooru Service
The following features are delegated to the [Reportbooru service](https://github.com/r888888888/reportbooru): The following features are delegated to the [Reportbooru service](https://github.com/danbooru/reportbooru):
* Related tags * Post views
* Missed searches report * Missed searches report
* Popular searches report * Popular searches report
* Favorite searches
* Upload trend graphs
### Recommender Service ### Recommender Service
Post recommendations require the [Recommender service](https://github.com/r888888888/recommender). Post recommendations require the [Recommender service](https://github.com/danbooru/recommender).
### Cropped Thumbnails
There's optional support for cropped thumbnails. This relies on installing
`libvips-8.6` or higher and setting `Danbooru.config.enable_image_cropping`
to true.