Boorunaut is a taggable imageboard built in Django. Based on Danbooru.
It is able to be used locally to categorize images, or ready to configure and deploy as a website.
- Posts;
- Gallery system;
- Tagging system, with aliases and implications;
- Control panel, including mass renaming, hash banning, mod queue and more.
If you are on a Linux-based system, you can simply run INSTALL.sh
to automatically setup everything on a virtual environment locally.
You can also check the documentation below for more detailed instructions on how to install the library and its requirements manually and on different systems.
The project is mainly written in the Python programming language, so it's an essential requirement. In order to download it, you can visit the official website, download it and install it.
On Linux you can just run the following command on the bash:
sudo apt-get install python3
Please check if pip
was installed along it with the command:
python3 -m pip --version
If no errors occurred, then you are good.
Now you need to have the python virtual environment installed on python in order to be able to create isolated local version of python on the desired directory. You just run the following on the bash:
python3 -m pip install virtualenv
Now you create a new virtual environment on the directory you your choosing. After nativating to the directory, let's say it's called mynewbooru
for example. Inside it, you can run on bash:
virtualenv env
This command will create a new virtual environment called env
.
You need now to activate the environment before running any of the following commands (you also need to activate it every time you want to run the project, or else an error saying you don't have the libraries installed will occur).
On Linux you run:
source env/bin/activate
On Windows you run:
.\env\Scripts\activate
Now the environment is activated, so you are running an local isolated version of python. Anything you install here will not affect the "global" python installed on your system.
Finally, you can now install Boorunaut
on your python environment:
pip install Boorunaut
And you can start a new your project with the command:
boorunaut startproject mysite
It will create a new project folder. You can enter it and run Django's (the underling tecnology behind Boorunaut) commands to initialize the website configuration. To enter the folder you can run:
cd mysite
Your project should have the following file structure:
mynewbooru/
├── env/
└── mysite/
└── mysite
├── __init__.py
└── ...
├── __init__.py
└── manage.py
Then you run the following commands:
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Now your website should be running on the default localhost:8000
. Type that into your browser and check it out your own Boorunaut main page!
By default, the database is set to SQLite. For production, it is recommended to change it to another one, like PostgreSQL.