Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMoolenaar authored Mar 14, 2024
1 parent f747099 commit df0fbdd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Rust + HTMX playground
Demo application for the RATH stack (Rust, Axum, Turso Htmx).

## Getting started
Setup:
```sh
cargo install sqlx-cli
cargo sqlx database setup
mv .env.example .env
# Edit .env file

npm install --prefix src/static
npm install -g tailwindcss # Or install tailwind via your package manager
Expand Down Expand Up @@ -47,7 +48,7 @@ npm run tailwind
- [ ] Rename to RATH stack, Rust Axum Turso Hhtmx

## Handy commands
You can execute `prepushsh` to fix lint and format.
You can execute `prepush.sh` to fix lint and format.

run lint
```sh
Expand All @@ -67,8 +68,6 @@ Fly commands
fly machine start
fly machine stop

cargo sqlx prepare # must be run before deployment, because SQLX_OFFLINE is true

fly deploy # Deploy using remote runner
sudo fly deploy --local-only # Deploy using local docker runner
```

0 comments on commit df0fbdd

Please sign in to comment.