diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..f5e145b --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'sinatra', '~> 1.4.8' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b524466 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,20 @@ +GEM + remote: https://rubygems.org/ + specs: + rack (1.6.5) + rack-protection (1.5.3) + rack + sinatra (1.4.8) + rack (~> 1.5) + rack-protection (~> 1.4) + tilt (>= 1.3, < 3) + tilt (2.0.7) + +PLATFORMS + ruby + +DEPENDENCIES + sinatra (~> 1.4.8) + +BUNDLED WITH + 1.11.2 diff --git a/README.md b/README.md index 1924f3b..457401e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # spotify-slack-status + Update your Slack status based on the track currently playing in Spotify. + +## How to Develop + +```bash +bundle install +rackup +open http://localhost:9292/ +``` diff --git a/app.rb b/app.rb new file mode 100644 index 0000000..f01822f --- /dev/null +++ b/app.rb @@ -0,0 +1,5 @@ +require 'sinatra' + +get '/' do + "Hello World!" +end diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..76a6edf --- /dev/null +++ b/config.ru @@ -0,0 +1,2 @@ +require './app' +run Sinatra::Application