From d174ba0642c66ee8f26808cba017dbd358d35053 Mon Sep 17 00:00:00 2001 From: Jason Park Date: Sun, 7 Jul 2019 03:06:02 +0900 Subject: [PATCH] Fix .gitpot.yml --- .gitpod.yml | 5 +++-- CONTRIBUTING.md | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 86dbcb8..ba5c8cc 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -2,12 +2,13 @@ tasks: - init: > git clone https://github.com/algorithm-visualizer/server.git && cd server && - echo -e "GITHUB_CLIENT_ID=dummy\nGITHUB_CLIENT_SECRET=dummy" > .env.local && npm install && + 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 + echo 'DANGEROUSLY_DISABLE_HOST_CHECK=true' > .env.local command: npm start ports: - port: 3000 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fffae81..56b21f7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ > #### Table of Contents > - [Running Locally](#running-locally) -> - [Run in Gitpod](#run-in-gitpod) +> - [Running in Gitpod](#running-in-gitpod) > - [Directory Structure](#directory-structure) Are you a first-timer in contributing to open source? [These guidelines](https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution) from GitHub might help! @@ -38,9 +38,9 @@ Are you a first-timer in contributing to open source? [These guidelines](https:/ 5. Open [`http://localhost:3000/`](http://localhost:3000/) in a web browser. -## Run in Gitpod +## Running in Gitpod -You can also run algorithm-visualizer in Gitpod, a free online dev environment for GitHub. +You can also run `algorithm-visualizer` in Gitpod, a free online dev environment for GitHub. [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/algorithm-visualizer/algorithm-visualizer) -- GitLab