# README ## Development Setup database: ```shell docker-compose -f docker-compose.yml up -d ``` Run migrations: ```shell sqlx migrate run ``` And then run the server: ```shell cargo run ``` Or run it with docker: ```shell # Setup services with multiple compose files, see: # # https://docs.docker.com/compose/extends/ # docker-compose -f docker-compose.yml -f docker-compose.override.yml up --build # Or just the following: docker-compose up --build ``` ## SQLx migration Add new migration: ```shell sqlx migrate add ``` Generate `sqlx-data.json`: ``` cargo sqlx prepare -- --lib ```