-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a509e93
commit 541be40
Showing
5 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM gitpod/workspace-full | ||
|
||
# Install custom tools, runtimes, etc. | ||
# For example "bastet", a command-line tetris clone: | ||
# RUN brew install bastet | ||
# | ||
# More information: https://www.gitpod.io/docs/config-docker/ | ||
RUN bash -c 'VERSION="18" \ | ||
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \ | ||
&& nvm use $VERSION && nvm alias default $VERSION' | ||
|
||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
ports: | ||
- port: 3007 | ||
onOpen: open-preview | ||
visibility: public | ||
- port: 4000 | ||
onOpen: open-browser | ||
visibility: public | ||
- port: 3006 | ||
onOpen: ignore | ||
visibility: public | ||
- port: 8080 | ||
onOpen: ignore | ||
visibility: public | ||
|
||
vscode: | ||
extensions: | ||
- ms-azuretools.vscode-docker | ||
- graphql.vscode-graphql | ||
- yzhang.markdown-all-in-one | ||
- ms-vscode.vscode-typescript-tslint-plugin | ||
- hediet.vscode-drawio | ||
- ms-azuretools.vscode-docker | ||
|
||
tasks: | ||
- init: npm ci | ||
command: echo "hello" | ||
- init: | | ||
./ensure-node-version.sh | ||
. ~/.nvm/nvm.sh && nvm use | ||
./prebuild.sh | tee gitpod-prebuild.log.txt | ||
- command: | | ||
./ensure-node-version.sh | ||
. ~/.nvm/nvm.sh && nvm use | ||
./wait-for-prebuild.sh && (npm run gitpod-start | tee gitpod-start.log.txt); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"workbench.colorCustomizations": { | ||
"activityBar.background": "#1B2535", | ||
"titleBar.activeBackground": "#1B2535", | ||
"titleBar.activeForeground": "#ffffff", | ||
"activityBar.inactiveForeground": "#BEE3F8", //icon inactive | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters