Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JijoBose authored Jan 8, 2024
1 parent 7e26d7e commit 5cbac0f
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
### Home Inventory API
Built with actix

#### Development
## Development

Setup the database and migration
#### Compile the current package
- ``cargo build``

``diesel setup``
#### Setup the database and migration

- ``diesel setup``
- ``diesel migration run``

#### Run the App

- ``cargo run``



## How to's

**Create new table**

``diesel migration generate create_homes``

Run Migration
**Run Migration**

``diesel migration run``

Undo Migration
**Undo Migration**

``diesel migration redo``

Run Cargo

``cargo run``

0 comments on commit 5cbac0f

Please sign in to comment.