-
Notifications
You must be signed in to change notification settings - Fork 184
Home
Szurubooru is a Danbooru-style board, a gallery where users can upload, browse, tag and comment images, video clips and flash animations.
Szurubooru is powered by chibi, a lightweight PHP framework.
Szurubooru differs from standard web applications. It has no installation wizard and has uncommon directory structure. Due to this, setting up szurubooru requires some explanation.
- A web server running PHP 5.5+ with SQLite extension enabled
- Some experience with web servers, installing web applications and/or git.
-
Clone this repository somewhere or unpack downloaded repository archive.
Notice: Recursive git clone will download all required linked libraries automatically, otherwise you will need to download each of them manually. In git these are called submodules and you will find them in the
lib/
directory. -
Setup your szurubooru installation.
-
Method 1: Change your web server configuration file to point at
public_html/
directory (changeDocumentRoot
inhttpd.conf
on Apache web server or change it from server provider administration panel). If it's not possible or you don't want to do that, use the second method.
If you cloned this repository directly where you set your root directory to, this method will allow you to perform instant updates with no additional configuration required.
-
Method 2 (not recommended): Deploy
public_html
directory into your web server and rest of these files in a safe place. Then you will need to edit paths inconfig.ini
andchdir
path inpublic_html/dispatch.php
on the web server, either with relative or absolute paths.
Keep note that this method will make updating your szurubooru more difficult.
-
Method 1: Change your web server configuration file to point at
-
TODO: file permissions and security information
-
If all done correctly, you should be able to see your szurubooru loading with no major issues. However, you need some more dependencies to be downloaded, such as javascript libraries etc. This can be done by running
init.php
script.
If you're using default path structure, run init.php
script from command line if possible: php init.php
. If not, init.php
must be called from http request - place it in your web server directory and edit destination paths accordingly, invoke init.php
from your browser, then delete or rename it.
As a last resort all these files can be downloaded manually. Open init.php
in your text editor and figure out how it works. It doesn't need a further explanation.
- szurubooru should be ready to use now.
TODO