mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
Co-authored-by: James Motherwell <motherwell.james@student.greenriver.edu> Co-authored-by: James M <122129564+JamesM25@users.noreply.github.com>
25 lines
605 B
Markdown
25 lines
605 B
Markdown
# HSDEV
|
|
|
|
`hsdev` is a simple diesel Postgres migration tool. It is designed to simply running a Postgres database migration with diesel.
|
|
|
|
## Installing hsdev
|
|
`hsdev` can be installed using `cargo`
|
|
```shell
|
|
cargo install --force --path crates/hsdev
|
|
```
|
|
|
|
## Using hsdev
|
|
Using `hsdev` is simple. All you need to do is run the following command.
|
|
```shell
|
|
hsdev --toml-file [path/to/TOML/file]
|
|
```
|
|
|
|
provide `hsdev` with a TOML file containing the following keys:
|
|
```toml
|
|
username = "your_username"
|
|
password = "your_password"
|
|
dbname = "your_db_name"
|
|
```
|
|
|
|
Simply run the command and let `hsdev` handle the rest.
|