diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000..9fc9a042 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,5 @@ +FROM gitpod/workspace-full + +USER gitpod + +RUN bash -c ". ~/.nvm/nvm-lazy.sh && npm install -g gulp-cli live-server" \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..3abc0adb --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,26 @@ +image: + file: .gitpod.Dockerfile +tasks: + - init: | + npm install + npm run build + command: | + gp await-port 8080 + gp preview http://localhost:8080/examples + npm run build + - command: | + npx live-server + openMode: split-right +ports: + - port: 8080 + onOpen: ignore + +github: + prebuilds: + branches: true + pullRequests: true + pullRequestsFromForks: true + addCheck: true + addComment: true + addBadge: false + addLabel: false diff --git a/README.md b/README.md index ec32d1fa..6335eb26 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ PublicLab.Editor [![Build Status](https://travis-ci.org/publiclab/PublicLab.Editor.svg)](https://travis-ci.org/publiclab/PublicLab.Editor) [![Code of Conduct](https://img.shields.io/badge/code-of%20conduct-green.svg)](https://publiclab.org/conduct) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/publiclab/PublicLab.Editor) + Please contact [plots-dev@googlegroups.com](mailto:plots-dev@googlegroups.com) to get involved! We'd love to make this editor compatible with other platforms. PublicLab.Editor is a general purpose, modular JavaScript/Bootstrap UI library for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for [PublicLab.org](https://publiclab.org) (itself an [open source project](https://github.com/publiclab/plots2)).