使用 gitpod 运行开发环境 #7229 (#7230)

This commit is contained in:
Jack Zhuang 2023-06-28 21:14:47 +08:00 committed by GitHub
parent cfb6a26ff7
commit 3dfd1af634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.gitpod.yml Normal file
View File

@ -0,0 +1,24 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
ports:
- port: 3000
onOpen: ignore
visibility: public
- port: 8888
onOpen: ignore
visibility: public
tasks:
- name: SDK
command: |
npm i
npm run build --workspace amis --workspace amis-ui
npx -y serve packages/amis/
- name: Amis
command: |
gp await-port 3000
npm run start