Fix .gitpot.yml

This commit is contained in:
Jason Park
2019-07-07 03:06:02 +09:00
parent c0c632e219
commit d174ba0642
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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)