18 lines
336 B
Markdown
18 lines
336 B
Markdown
|
# Yggdrasil
|
||
|
Self-hosted Minecraft authentication server with authlib-injector support
|
||
|
|
||
|
# Setup
|
||
|
1. Declare database URL
|
||
|
```sh
|
||
|
$ export DATABASE_URL="sqlite:yggdrasil.db"
|
||
|
```
|
||
|
2. Create database (install sqlx cli tool if not already)
|
||
|
```sh
|
||
|
$ sqlx db create
|
||
|
```
|
||
|
3. Run SQL migrations (this creates the tables)
|
||
|
```sh
|
||
|
$ sqlx migrate run
|
||
|
```
|
||
|
|