-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Showing
2 changed files
with
24 additions
and
15 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,7 @@ | ||
FROM gitpod/workspace-full:latest | ||
|
||
RUN bash -c 'VERSION="14.8.0" \ | ||
&& 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,17 +1,19 @@ | ||
tasks: | ||
- init: > | ||
git clone https://github.com/algorithm-visualizer/server.git && | ||
cd server && | ||
npm install && | ||
echo -e "GITHUB_CLIENT_ID=dummy\nGITHUB_CLIENT_SECRET=dummy\nAWS_ACCESS_KEY_ID=dummy\nAWS_SECRET_ACCESS_KEY=dummy" > .env.local && | ||
cd .. | ||
command: cd server && npm run watch | ||
- init: > | ||
echo 'DANGEROUSLY_DISABLE_HOST_CHECK=true' > .env.local && | ||
nvm install v12.22.12 && nvm use v12.22.12 && npm install | ||
command: npm start | ||
- init: > | ||
git clone https://github.com/algorithm-visualizer/server.git && | ||
cd server && | ||
npm install && | ||
echo -e "GITHUB_CLIENT_ID=dummy\nGITHUB_CLIENT_SECRET=dummy\nAWS_ACCESS_KEY_ID=dummy\nAWS_SECRET_ACCESS_KEY=dummy" > .env.local && | ||
cd .. | ||
command: cd server && npm run watch | ||
- init: > | ||
npm install && | ||
echo 'DANGEROUSLY_DISABLE_HOST_CHECK=true' > .env.local | ||
command: npm start | ||
ports: | ||
- port: 3000 | ||
onOpen: notify | ||
- port: 8080 | ||
onOpen: ignore | ||
- port: 3000 | ||
onOpen: notify | ||
- port: 8080 | ||
onOpen: ignore | ||
image: | ||
file: .gitpod.Dockerfile |