Skip to content

Commit

Permalink
Support Contribute with Gitpod. (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerwin612 authored Aug 8, 2024
1 parent d0ca1e7 commit cb951aa
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Shenyu DevContainer",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "20"
},
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {}
},
"customizations": {
"vscode": {
"settings": {},
// same extensions as Gitpod, should match /.gitpod.yml
"extensions": [
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"DavidAnson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
"GitHub.vscode-pull-request-github"
]
}
},
"portsAttributes": {
"3000": {
"label": "Shenyu Website",
"onAutoForward": "notify"
}
},
"postCreateCommand": "node --version"
}
23 changes: 23 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
tasks:

- name: Run
command: |
gp sync-await setup
yarn start
- name: Setup
init: |
yarn install
command: |
gp sync-done setup
exit 0
openMode: split-right

vscode:
extensions:
- editorconfig.editorconfig
- dbaeumer.vscode-eslint
- stylelint.vscode-stylelint
- DavidAnson.vscode-markdownlint
- ms-azuretools.vscode-docker
- GitHub.vscode-pull-request-github
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Apache ShenYu Official Website

![Website Deploy](https://github.com/apache/shenyu-website/workflows/Website%20Deploy/badge.svg)
[![Contribute with Gitpod](https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod&color=green)](https://gitpod.io/#https://github.com/apache/shenyu-website)

This project keeps all sources used for building up Apache ShenYu official website which's served at <https://shenyu.apache.org/>.

Expand Down

0 comments on commit cb951aa

Please sign in to comment.