Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: incorporate gitpod for preview (#52)

Luke Zhoua92d079cdc75
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000000..a12da80e17
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,12 @@
+tasks:
+ - name: Init Frontend
+ init: cd ./frontend && yarn
+ command: yarn dev
+ - name: Init Backend
+ init: curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s
+ command: ./bin/air -c scripts/.air.toml
+
+# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
+ports:
+ - port: 3000
+ onOpen: open-preview
diff --git a/README.md b/README.md
index 248d5e065b..4f645c4e39 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,12 @@
<img alt="status" src="https://img.shields.io/badge/status-alpha-red" />
</p>
+<p align="center" >
+<a href="https://gitpod.io/#https://github.com/bytebase/bytebase">
+ <image width="20%" src="https://gitpod.io/button/open-in-gitpod.svg" />
+</a>
+</p>
+
[Bytebase](https://bytebase.com/) is a **web-based**, **zero-config**, **dependency-free** database schema change and version control management tool for developers and DBAs.
- [x] Web-based schema change and management workspace for teams
@@ -77,7 +83,14 @@ https://github.com/bytebase/bytebase/tree/main/docs/design
## 🏗 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:
+<p align="center" >
+<a href="https://gitpod.io/#https://github.com/bytebase/bytebase">
+ <image src="https://gitpod.io/button/open-in-gitpod.svg" />
+</a>
+</p>
+
+Bytebase is built with a curated tech stack. It is optimized for **developer experience** and is very easy to start
+working on the code:
1. It has no external dependency.
1. It requires zero config.