A simple club management app made with <3
dist | ||
migrations | ||
src | ||
templates | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
diesel.toml | ||
docker-compose.yml | ||
example.env | ||
mprocs.yaml | ||
package-lock.json | ||
package.json | ||
README.md | ||
tailwind.config.js |
clubmanager
Running
Run Database
docker-compose up
or
docker compose up
whichever works
Diesel Schema Setup
# install diesel cli
cargo install diesel_cli
# run migrations
diesel migration run
Build Styles
npx tailwindcss -i ./templates/styles/main.css -o ./dist/main.css --watch
Run Web Server
cargo run
Reset database
docker compose down
or
docker-compose down
whichever works, then restart the database as above