Pooru
Booru software for the 21st century.
Setup
Setup is a little funky, but I hope to fix this funkyness down the road. First and foremost, you will want to edit the shared/config.example.toml
file to your specific needs. Pooru *currently only supports PostgreSQL and any S3 compatible server for saving images/user content. You'll want to set an environment variable for the database url (i.e. export DATABASE_URL=<url>
). The Database url is used for migrations.
Now let's talk migrations. First of all make sure you have set your database url env var this is required by sea-orm. Optionally, you can create a .env
file in the root of the project with the database url in it, but that seems a little pointless, doesn't it? (This will probably be handled by the aforementioned funkyness fix.). Steps: 1. cd migrations
, 2. cargo run migrate up
then the migrations should be up and you can run cargo run
in the root directory