From 22a62fd0a2886b404482f6cee9af1ae22965ea86 Mon Sep 17 00:00:00 2001 From: abeabe22 Date: Wed, 11 Nov 2020 00:30:37 +0000 Subject: [PATCH 1/3] Install gems --- .gitpod.yml | 4 +++ Gemfile.lock | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++ app/actions.rb | 3 ++ 3 files changed, 100 insertions(+) create mode 100644 .gitpod.yml create mode 100644 Gemfile.lock diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..b0224045b --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,4 @@ +# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/ +ports: + - port: 3000 + onOpen: open-browser \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 000000000..fb56b47f0 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,93 @@ +GEM + remote: https://rubygems.org/ + specs: + activemodel (4.2.11.3) + activesupport (= 4.2.11.3) + builder (~> 3.1) + activerecord (4.2.11.3) + activemodel (= 4.2.11.3) + activesupport (= 4.2.11.3) + arel (~> 6.0) + activesupport (4.2.11.3) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + arel (6.0.4) + bond (0.5.1) + builder (3.2.4) + coderay (1.1.3) + concurrent-ruby (1.1.7) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + method_source (1.0.0) + minitest (5.14.2) + multi_json (1.15.0) + mustermann (1.1.1) + ruby2_keywords (~> 0.0.1) + nio4r (2.5.4) + pry (0.13.1) + coderay (~> 1.1) + method_source (~> 1.0) + puma (5.0.4) + nio4r (~> 2.0) + rack (2.2.3) + rack-protection (2.1.0) + rack + rack-test (0.6.3) + rack (>= 1.0) + rake (13.0.1) + ripl (0.7.1) + bond (~> 0.5.1) + ripl-multi_line (0.3.1) + ripl (>= 0.3.6) + ripl-rack (0.2.1) + rack (>= 1.0) + rack-test (~> 0.6.2) + ripl (>= 0.7.0) + ruby2_keywords (0.0.2) + shotgun (0.9.2) + rack (>= 1.0) + sinatra (2.1.0) + mustermann (~> 1.0) + rack (~> 2.2) + rack-protection (= 2.1.0) + tilt (~> 2.0) + sinatra-activerecord (2.0.21) + activerecord (>= 4.1) + sinatra (>= 1.0) + sinatra-contrib (2.1.0) + multi_json + mustermann (~> 1.0) + rack-protection (= 2.1.0) + sinatra (= 2.1.0) + tilt (~> 2.0) + sqlite3 (1.3.13) + thread_safe (0.3.6) + tilt (2.0.10) + tux (0.3.0) + ripl (>= 0.3.5) + ripl-multi_line (>= 0.2.4) + ripl-rack (>= 0.2.0) + sinatra (>= 1.2.1) + tzinfo (1.2.8) + thread_safe (~> 0.1) + +PLATFORMS + ruby + +DEPENDENCIES + activerecord (~> 4.2.0) + activesupport + pry + puma + rake + shotgun + sinatra + sinatra-activerecord + sinatra-contrib + sqlite3 (~> 1.3.6) + tux + +BUNDLED WITH + 2.1.4 diff --git a/app/actions.rb b/app/actions.rb index e69de29bb..76eb8aef8 100755 --- a/app/actions.rb +++ b/app/actions.rb @@ -0,0 +1,3 @@ +get '/' do + "Hello World" +end \ No newline at end of file From fcddbd115d96bf7223e7e35c4d799533842ed72d Mon Sep 17 00:00:00 2001 From: abeabe22 Date: Wed, 11 Nov 2020 01:04:17 +0000 Subject: [PATCH 2/3] Fully automate dev setup with Gitpod This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitHub and GitLab that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. --- .gitpod.yml | 6 ++---- README.md | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index b0224045b..21452b337 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,4 +1,2 @@ -# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/ -ports: - - port: 3000 - onOpen: open-browser \ No newline at end of file +tasks: + - init: bundle install diff --git a/README.md b/README.md index 2577b6932..d1371d6d9 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/lighthouse-labs/finstagram) + # finstagram From b1e0b807dbdab6827c522c9ef4ad0d9c3b261780 Mon Sep 17 00:00:00 2001 From: abeabe22 Date: Wed, 11 Nov 2020 02:07:44 +0000 Subject: [PATCH 3/3] initial commit --- .gitpod.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 21452b337..b0224045b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,2 +1,4 @@ -tasks: - - init: bundle install +# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/ +ports: + - port: 3000 + onOpen: open-browser \ No newline at end of file