Skip to content

Commit

Permalink
add dev container config to run server on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bill3tt committed Jan 1, 2024
1 parent cad63ee commit e078d6d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"image":"mcr.microsoft.com/devcontainers/universal:2",
"postCreateCommand": [
"git submodule init",
"git submodule update"
],
"postAttachCommand": {
"server": "hugo server -D --baseURL=https://$CODESPACE_NAME-1313.app.github.dev --appendPort=false"
}
}

0 comments on commit e078d6d

Please sign in to comment.