Interactive browser for the display cases of the Kingdom of Loathing. Updated daily! 🏛️
The application uses yarn to build a React app and kysely to manage a postgres database.
To run locally:
- Ensure corepack is enabled:
corepack enable - Install the yarn packages:
yarn - Ensure a postgres database is running, e.g.
docker run --name museum --network host -e POSTGRES_PASSWORD=postgres -v "./.docker/data:/var/lib/postgresql/data" --rm postgres:16.14 - Copy
.env.templateto.envand populate it with your postgres URL - Run the kysely migrations:
yarn db:migrate - Start the server:
yarn dev