diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..8fd958bc --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,6 @@ +ports: +- port: 8000 + onOpen: open-preview +tasks: +- init: npm install && npm install -g grunt-cli + command: grunt build && python3 -m http.server 8000 diff --git a/README.md b/README.md index 371266bc..bd03cc58 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ You'll also need `npm` to download all the dependencies of the project. The general workflow / steps are below: -``` +```bash git clone cd learnGitBranching npm install # to install all the node modules I depend on @@ -97,6 +97,10 @@ git push # go online and request a pull ``` +Alternatively, you can also build and run the app in a pre-configured online workspace: + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/pcottle/learnGitBranching/blob/master/src/js/git/index.js) + ## Helpful Folks A big shoutout to these brave souls for extensively testing our sandbox and finding bugs and/or inconsistencies: