Skip to content

Commit

Permalink
Merge pull request #76 from publiclab/feat/gitpod
Browse files Browse the repository at this point in the history
Adding gitpod configs
  • Loading branch information
alaxalves authored Aug 25, 2020
2 parents a218fa4 + 3242eba commit f873043
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitpod.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM gitpod/workspace-full

# Install dependencies.
RUN sudo apt-get update -qq && \
sudo apt-get install -y \
gdal-bin \
ruby \
zlib1g-dev \
imagemagick \
ruby-sinatra \
ruby-kramdown \
ruby-nokogiri \
bundler \
gdal-bin
18 changes: 18 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image:
file: .gitpod.dockerfile
ports:
- port: 3000
onOpen: open-preview
tasks:
- init: bundle install
command: bundle exec ruby app.rb -o 0.0.0.0 -p 3000

github:
prebuilds:
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: false
addLabel: false
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

A minimal Sinatra app to run MapKnitter exports in the cloud, using the `mapknitter-exporter` gem.

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/publiclab/mapknitter-exporter-sinatra/)


[![Build Status](https://travis-ci.com/publiclab/mapknitter-exporter-sinatra.svg)](https://travis-ci.com/publiclab/mapknitter-exporter-sinatra)

* Gem: https://github.com/publiclab/mapknitter-exporter
Expand Down

0 comments on commit f873043

Please sign in to comment.