Add scripts for a single-command Danbooru deployment.
Add a Docker Compose file that launches a minimal Danbooru instance in a Docker container with a single command. This is suitable as a quick demo or for personal use, not for public-facing sites. To use it, just run `bin/danbooru`. This is a wrapper script that installs Docker Compose then uses it to start Danbooru. This will generate a lot of debug output and take several minutes while it builds the Docker containers. Be patient. When it's done, you should have an empty booru accessible at http://localhost.
This commit is contained in:
20
README.md
20
README.md
@@ -1,5 +1,25 @@
|
||||
[](https://codecov.io/gh/danbooru/danbooru) [](https://discord.gg/eSVKkUF)
|
||||
|
||||
## Quickstart
|
||||
|
||||
Clone this repository and run `bin/danbooru` to start a basic Danbooru instance:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/danbooru/danbooru
|
||||
cd danbooru
|
||||
./bin/danbooru
|
||||
```
|
||||
|
||||
This will install [Docker Compose](https://docs.docker.com/compose/) and use it
|
||||
to start Danbooru. This will take several minutes and produce lots of output.
|
||||
When it's done, Danbooru will be running at http://localhost.
|
||||
|
||||
Alternatively, if you already have Docker Compose installed, you can just do:
|
||||
|
||||
```sh
|
||||
docker-compose -f config/docker/docker-compose.simple.yaml up
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
It is recommended that you install Danbooru on a Debian-based system
|
||||
|
||||
Reference in New Issue
Block a user