Skip to content

Commit

Permalink
Added gitpod config (#558)
Browse files Browse the repository at this point in the history
* Added gitpod config

* adding github directives

Co-authored-by: Sven Efftinge <[email protected]>
  • Loading branch information
jywarren and svenefftinge authored Jul 12, 2020
1 parent acf61b9 commit a228d06
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM gitpod/workspace-full

USER gitpod

RUN bash -c ". ~/.nvm/nvm-lazy.sh && npm install -g gulp-cli live-server"
26 changes: 26 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [[email protected]](mailto:[email protected]) 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)).
Expand Down

0 comments on commit a228d06

Please sign in to comment.