feat: init gitpod config (#42)
* feat: init gitpod config * feat: add sample.env and ignore .env files * fix: .gitpod.yml filename
This commit is contained in:
parent
0264c77d98
commit
666dc973cb
6 changed files with 19 additions and 3 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,2 +0,0 @@
|
|||
# Tell Linguist to exclude HTML files to help Replit language detection.
|
||||
*.html linguist-vendored
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
.env
|
||||
|
|
14
.gitpod.yml
Normal file
14
.gitpod.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
image: gitpod/workspace-node-lts
|
||||
|
||||
ports:
|
||||
- port: 3000
|
||||
onOpen: open-preview
|
||||
visibility: public
|
||||
|
||||
tasks:
|
||||
- init: npm install
|
||||
command: npm run start
|
||||
|
||||
vscode:
|
||||
extensions:
|
||||
- https://github.com/freeCodeCamp/freecodecamp-dark-vscode-theme/releases/download/v1.0.0/freecodecamp-dark-vscode-theme-1.0.0.vsix
|
|
@ -1 +0,0 @@
|
|||
.replit
|
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"workbench.colorTheme": "freeCodeCamp Dark Theme"
|
||||
}
|
1
sample.env
Normal file
1
sample.env
Normal file
|
@ -0,0 +1 @@
|
|||
PORT=3000
|
Loading…
Add table
Add a link
Reference in a new issue