clubmanager/README.md

44 lines
553 B
Markdown

# 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