GitHub - bytebase/bytebase: Web-based, zero-config, dependency-free database sch...
source link: https://github.com/bytebase/bytebase
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
We are looking for an experienced frontend engineer to lead Bytebase frontend development. Check out our jobs page.
Bytebase is in public alpha and we may make breaking schema changes between versions. We plan to stabilize the schema around the middle of August. In the mean time, if you are eager to try Bytebase for your business and encounter issue when upgrading to the new version. Please contact [email protected] and we will help you manually upgrade the schema.
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)
Supported database engines
- MySQL
Planned
- PostgreSQL
Supported VCS
- GitLab EE/CE
Planned
- GitHub Enterprise
- GitLab.com
- GitHub.com
Visit docs.bytebase.com for more details
Installation
Run on localhost:8080
$ docker run --init --name bytebase --restart always --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:0.3.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.3.0 --data /var/opt/bytebase --host https://bytebase.example.com --port 80
Development
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
Prerequisites
Steps
-
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK