Skip to content

Commit

Permalink
add demo screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jan 19, 2024
1 parent dd627d5 commit f483ca2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ easy-to-use API.

REF: a small penguin with a yellowish crest, breeding on subantarctic coastal cliffs which it ascends by hopping from rock to rock.

![Console Demo](https://raw.githubusercontent.com/c9s/rockhopper/main/screenshots/screenshot1.png)

# Features

- Embeddable migration script - you can embed SQL files as go source files and compile them into a binary
Expand Down Expand Up @@ -202,6 +204,20 @@ $ rockhopper status
+---------+----------------+---------------------------------------------------------+--------------------------+---------+
```

# Environment Variables

```azure
ROCKHOPPER_DRIVER=mysql
ROCKHOPPER_DIALECT=mysql
ROCKHOPPER_DSN="root:root@unix(/opt/local/var/run/mysql57/mysqld.sock)/bbgo"
```

`ROCKHOPPER_DRIVER` is the db driver name that will be used for the protocol.

`ROCKHOPPER_DIALECT` is the dialect name that will be used for generating different kinds of SQL, e.g. mysql, sqlite3, postgresql...

`ROCKHOPPER_DSN` is the DSN used for connecting to the database.


# Migrations

Expand Down

0 comments on commit f483ca2

Please sign in to comment.