clubmanager/README.md

44 lines
553 B
Markdown
Raw Normal View History

2023-10-24 13:36:52 +00:00
# clubmanager
### Running
##### Run Database
```
docker-compose up
```
or
```
docker compose up
```
whichever works
2023-11-04 09:59:33 +00:00
##### Diesel Schema Setup
```
# install diesel cli
2023-11-15 07:38:27 +00:00
cargo install diesel_cli --no-default-features --features mysql
2023-11-04 09:59:33 +00:00
# run migrations
diesel migration run
```
##### Build Styles
```
npx tailwindcss -i ./templates/styles/main.css -o ./dist/main.css --watch
```
2023-10-24 13:36:52 +00:00
##### Run Web Server
```
cargo run
```
##### Reset database
```
docker compose down
```
or
```
docker-compose down
```
whichever works, then restart the database as above