Zynh0722 0068f38f04 | ||
---|---|---|
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 --no-default-features --features mysql
# 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