Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.09 KB

README.md

File metadata and controls

49 lines (42 loc) · 1.09 KB

TON wallet update service

How to install:

# Clone repo
> git clone https://github.com/LazyMechanic/wussup
> cd wussup

# Install into $HOME/.cargo/bin
> cargo install --path .

How to use:

  1. Create config.yaml file with config
  2. Check example_config.yaml file to fill your config
  3. 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]

How to apply migrations:

As a migration tool is used goose 0. Install and start Postgres

  1. Install goose link
  2. Go to migrations directory
    cd ./migrations
  3. Start migration
    Up migration:
    goose postgres "postgres://user:password@localhost:5432/wussup?sslmode=disable" up
    Down migration:
    goose postgres "postgres://user:password@localhost:5432/wussup?sslmode=disable" down