diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000000..f8e49f2674 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,7 @@ +FROM gitpod/workspace-full + +# Install custom tools, runtimes, etc. +# For example "bastet", a command-line tetris clone: +# RUN brew install bastet +# +# More information: https://www.gitpod.io/docs/config-docker/ diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000..08b13f8616 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,37 @@ +image: + file: .gitpod.Dockerfile + +ports: + - port: 4000 + onOpen: open-preview + +tasks: + - before: gem install jekyll bundler + init: bundle install + name: jekyll + command: bundle exec jekyll serve + +vscode: + extensions: + - syler.sass-indented@1.8.15:OWaLl5oCHRK7fCfvhwK3og== + + - dbaeumer.vscode-eslint@2.1.8:02aHhbJ0Q4aGdjHXlTdVKg== + +github: + prebuilds: + # enable for the master/default branch (defaults to true) + master: true +# enable for all branches in this repo (defaults to false) + branches: false +# enable for pull requests coming from this repo (defaults to true) + pullRequests: true +# enable for pull requests coming from forks (defaults to false) + pullRequestsFromForks: false +# add a check to pull requests (defaults to true) + addCheck: true +# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) + addComment: true +# add a "Review in Gitpod" button to the pull request's description (defaults to false) + addBadge: false +# add a label once the prebuild is ready to pull requests (defaults to false) + addLabel: true diff --git a/README.md b/README.md index 5994e73733..1bca464ba2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/github/personal-website) + # Get started building your personal website ### Showcase your software development skills @@ -16,6 +18,10 @@ You'll be making your own copy of the "personal website starter" repository so y Once you've found a home for your forked repository, it's yours. You're the owner, so you're ready to publish, if you wish. +### Install in Gitpod + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/github/personal-website) + ### Install in your local development environment If you want to manage your website in a local web development environment, you'll be using [Ruby](https://jekyllrb.com/docs/installation/).