diff --git a/.gitpod.yml b/.gitpod.yml index 86dbcb8fa112496fad2ce86ae9198ed13502df96..ba5c8ccee3e0250313b6efd7b792892d9b41c335 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 fffae816896d203f19e35ef565d45d09a67c2b4d..56b21f709f41f1a67e103f8efb27c4475ac1b85a 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)