Skip to content

Commit

Permalink
Add codespaces support (#1613)
Browse files Browse the repository at this point in the history
* Add codespaces support

Signed-off-by: Victor Morales <[email protected]>

* Change the codespace link in README.md

Signed-off-by: Seokho Son <[email protected]>

---------

Signed-off-by: Victor Morales <[email protected]>
Signed-off-by: Seokho Son <[email protected]>
Co-authored-by: Seokho Son <[email protected]>
  • Loading branch information
electrocucaracha and seokho-son authored Feb 2, 2023
1 parent f559c7b commit bb232ff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node",
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true
}
},
"postCreateCommand": "git submodule update --init --recursive && npm install"
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ npm install
```

You can then run the site using `hugo server`.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?repo=cncf/glossary)

0 comments on commit bb232ff

Please sign in to comment.