- text game management
- custom script generation
- storyteller feedback
Bureaucrat depends on scriptmaker
, which has some extra dependencies.
- Install the dependencies listed on
scriptmaker
's README.apt install -y pango poppler-utils ghostscript
-
Ensure you have a compatible version of Python.
apt install -y python3.12 pipx
-
Install
poetry
, the python environment manager.pipx install poetry
-
Clone this repository.
git clone git@github.com:rsarvar1a/bureaucrat && cd bureaucrat
-
Install Bureaucrat's dependencies.
poetry install
-
Install PostgreSQL on your machine. It can be found in most package managers as
postgresql
.apt install -y postgresql
-
Create a user for Bureaucrat in
psql
; ensure it has sufficient permissions.postgres=# CREATE ROLE 'bureaucrat' WITH LOGIN PASSWORD 'password';
-
Create a new database named
bureaucrat
or similar inpsql
. Ensure that its owner is the user you created in step 2.postgres=# CREATE DATABASE 'bureaucrat' WITH OWNER 'bureaucrat';
-
Run migrations to populate the database.
poetry run alembic upgrade head
See .env.example
for an example file.