Bytebase is a zero-config, dependency-free database schema change and version control management tool for teams. It supports 2 mainstream schema change workflow:
- UI based SQL review
- Version control based schema migration (Database-as-Code)
- MySQL
- PostgreSQL
- GitLab EE/CE
- GitHub Enterprise
- GitLab.com
- GitHub.com
Visit docs.bytebase.com for more details
$ docker run --init --name bytebase --restart always --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:0.1.0 --data /var/opt/bytebase --host http://localhost --port 8080
Run on https://bytebase.example.com
$ docker run --init --name bytebase --restart always --publish 80:80 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:0.1.0 --data /var/opt/bytebase --host https://bytebase.example.com --port 80
Bytebase is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:
- It has no external dependency.
- It requires zero config.
- 1 command to start backend and 1 command to start frontend, both with live reload support.
Tech Stack
Data Model
- Go (1.16 or later)
- Yarn
- Air (For backend live reload)
-
Install Air
-
Start backend using air (with live reload)
$ air
-
Start frontend (with live reload)
$ cd frontend && yarn && yarn dev
Bytebase should now be running at https://localhost:3000 and change either frontend or backend code would trigger live reload.