Skip to content

Commit 61a5761

Browse files
jankeromnestyroprogrammer
authored andcommittedJun 16, 2019
Add way to auto-play the tutorial online with Gitpod
1 parent 5f8e97c commit 61a5761

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎.gitpod.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ports:
2+
- port: 3000
3+
onOpen: open-preview
4+
tasks:
5+
- before: export DANGEROUSLY_DISABLE_HOST_CHECK=true
6+
init: yarn install
7+
command: yarn start

‎README.md

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ After this is complete, the application will be deployed on port `3000`. Open a
6969

7070
-----
7171

72+
## Online Tutorial
73+
74+
You can also run this tutorial in Gitpod, a free online dev environment for GitHub:
75+
76+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://github.com/tyroprogrammer/learn-react-app/blob/master/src/exercise/01-HelloWorld.js)
77+
78+
-----
79+
7280
## Following the tutorial
7381

7482
Tutorials on this application are fairly straightforward to follow. Each tutorial has one or more exercises. You'll see once you are in the tutorial.

0 commit comments

Comments
 (0)
Failed to load comments.