Just a simple translated database for TD. All data is from matsurihi.me
- Clone this repo
git clone https://github.com/EthanSk13s/miriondb
-
Modify the compose file as necessary, it should work out of the box (unless relying on hosting images on your own, in that case images may take time to download)
-
Now to simply start, merge the base compose with the other composes inisde the composes folder:
$ docker compose -f docker-compose.yml -f docker-compose.dev.yml build
...
$ docker compose -f docker-compose.yml -f docker-compose.dev.yml up
!! Prerequisites are the latest version of Rust, at least python 3.8, and a ready-to-go Postgres server !!
- Clone this repo
git clone https://github.com/EthanSk13s/miriondb
- Install requirements and initialize a venv inside the directory
python -m venv .venv
source .venv/bin/activate # .venv/Scripts/activate if on windows
pip install -r requirements.txt
- Create a new file called db.yml and modify it as necessary:
postgres:
user: # Your postgres user
pass: # Your postgres password
database: # Which database to use
# If you are actively using the asset server, leave this as is
assets:
host: "127.0.0.1"
port: 5501
- Don't forget to edit
Rocket.toml
to point to the DB uri
[default.databases]
theater = { url = "postgresql://{user}:{pass}@localhost/{database}" }
- Now start the python server:
python run.py
- Start the asset server by:
cd theater # traverse to the theater director
cargo run # add the --release flag, if building through release