Skip to content

Commit 3ab526e

Browse files
authored
Update the template
1 parent 31eb98d commit 3ab526e

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2-
"onCreateCommand": "npm install",
3-
"postCreateCommand": ""
4-
}
2+
"postAttachCommand": {
3+
"server": "npm start",
4+
},
5+
6+
"portsAttributes": {
7+
"3000": {
8+
"label": "Application",
9+
"onAutoForward": "openPreview"
10+
}
11+
},
12+
13+
"customizations": {
14+
"codespaces": {
15+
"openFiles": ["index.js"]
16+
}
17+
},
18+
"onCreateCommand": "npm install",
19+
"postCreateCommand": "",
20+
"hostRequirements": {"cpus": 4}
21+
}

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# codespaces-try-express
1+
# GitHub Codespaces ♥️ Express
2+
3+
Welcome to your shiny new Codespace running Express! We've got everything fired up and running for you to explore Express.
4+
5+
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you!
6+
7+
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish to GitHub" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
8+
9+
To run this application:
210

311
```
412
npm start

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)