Zynh0722 3cfb5af1eb | ||
---|---|---|
dist | ||
migrations | ||
src | ||
templates | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
diesel.toml | ||
docker-compose.yml | ||
example.env | ||
mprocs.yaml | ||
package-lock.json | ||
package.json | ||
tailwind.config.js |
README.md
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