# Clone repo
> git clone https://github.com/LazyMechanic/wussup
> cd wussup
# Install into $HOME/.cargo/bin
> cargo install --path .
- Create
config.yaml
file with config - Check
example_config.yaml
file to fill your config - Check cli:
> ./wussup --help wussup 0.1 Lazy Mechanic USAGE: wussup [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -c, --config <config> Config path [default: config.yaml]
As a migration tool is used goose
0. Install and start Postgres
- Install
goose
link - Go to migrations directory
cd ./migrations
- Start migration
Up migration:Down migration:goose postgres "postgres://user:password@localhost:5432/wussup?sslmode=disable" up
goose postgres "postgres://user:password@localhost:5432/wussup?sslmode=disable" down