Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
prepare for open source
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Nov 21, 2013
0 parents commit d4e68ed
Show file tree
Hide file tree
Showing 59 changed files with 1,596 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

# Ignore bundler config
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

/public

# Sensitive Config
/config/deploy.yml
/config/*.sh
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--format documentation
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby-1.9.3-p448
37 changes: 37 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
source 'https://rubygems.org'

ruby '1.9.3'

gem 'rails', '3.2.15'
gem 'rails-api'
gem 'thin', '~> 1.6.1'

gem 'mongoid', "~> 3.1.5"

gem 'active_model_serializers', '~> 0.8.1'
gem 'strong_parameters', '~> 0.2.1'
gem 'addressable', '~> 2.3.5'
# gem 'devise'
gem 'whiskey_disk'

group :development, :test do
gem 'rspec-rails'
gem 'mongoid-rspec'
gem 'capybara'
gem "capybara-webkit"
# gem "selenium-webdriver"
gem 'capybara-screenshot'
gem "launchy"
gem 'database_cleaner'
gem 'rr'
gem 'fabrication'
# gem 'timecop'

gem 'debugger'
gem 'better_errors'
gem 'binding_of_caller'
#gem 'foreman' # not compatible with middleman
gem 'middleman', '~> 3.2.0'
gem 'middleman-bower'
gem 'rack-rewrite'
end
251 changes: 251 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.15)
actionpack (= 3.2.15)
mail (~> 2.5.4)
actionpack (3.2.15)
activemodel (= 3.2.15)
activesupport (= 3.2.15)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
active_model_serializers (0.8.1)
activemodel (>= 3.0)
activemodel (3.2.15)
activesupport (= 3.2.15)
builder (~> 3.0.0)
activerecord (3.2.15)
activemodel (= 3.2.15)
activesupport (= 3.2.15)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.15)
activemodel (= 3.2.15)
activesupport (= 3.2.15)
activesupport (3.2.15)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
addressable (2.3.5)
arel (3.0.2)
better_errors (1.0.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.0.4)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-screenshot (0.3.14)
capybara (>= 1.0, < 3)
launchy
capybara-webkit (1.0.0)
capybara (~> 2.0, >= 2.0.2)
json
chunky_png (1.2.9)
coderay (1.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
columnize (0.3.6)
compass (0.12.2)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
daemons (1.1.9)
database_cleaner (1.2.0)
debug_inspector (0.0.2)
debugger (1.6.2)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.2.3)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
eventmachine (1.0.3)
execjs (1.4.0)
multi_json (~> 1.0)
fabrication (2.9.3)
ffi (1.9.3)
fssm (0.2.10)
haml (4.0.4)
tilt
hike (1.2.3)
i18n (0.6.5)
journey (1.0.4)
json (1.8.1)
kramdown (1.2.0)
launchy (2.3.0)
addressable (~> 2.3)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
middleman (3.2.0)
coffee-script (~> 2.2.0)
compass (>= 0.12.2)
execjs (~> 1.4.0)
haml (>= 3.1.6)
kramdown (~> 1.2)
middleman-core (= 3.2.0)
middleman-sprockets (>= 3.1.2)
sass (>= 3.1.20)
uglifier (~> 2.1.0)
middleman-bower (1.0.2)
sprockets-bower (>= 0.0.2)
middleman-core (3.2.0)
activesupport (~> 3.2.6)
bundler (~> 1.1)
i18n (~> 0.6.1)
listen (~> 1.1)
rack (>= 1.4.5)
rack-test (~> 0.6.1)
thor (>= 0.15.2, < 2.0)
tilt (~> 1.3.6)
middleman-sprockets (3.2.0)
middleman-core (~> 3.2)
sprockets (~> 2.1)
sprockets-helpers (~> 1.0.0)
sprockets-sass (~> 1.0.0)
mime-types (1.25)
mini_portile (0.5.2)
mongoid (3.1.5)
activemodel (~> 3.2)
moped (~> 1.4)
origin (~> 1.0)
tzinfo (~> 0.3.29)
mongoid-rspec (1.9.0)
mongoid (>= 3.0.1)
rake
rspec (>= 2.14)
moped (1.5.1)
multi_json (1.8.2)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
origin (1.1.0)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-rewrite (1.4.01)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.15)
actionmailer (= 3.2.15)
actionpack (= 3.2.15)
activerecord (= 3.2.15)
activeresource (= 3.2.15)
activesupport (= 3.2.15)
bundler (~> 1.0)
railties (= 3.2.15)
rails-api (0.1.0)
actionpack (>= 3.2.11)
railties (>= 3.2.11)
tzinfo (~> 0.3.31)
railties (3.2.15)
actionpack (= 3.2.15)
activesupport (= 3.2.15)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.1.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.2)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
rdoc (3.12.2)
json (~> 1.4)
rr (1.1.2)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.7)
rspec-expectations (2.14.4)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.4)
rspec-rails (2.14.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
sass (3.2.12)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-bower (0.0.2)
sprockets-helpers (1.0.1)
sprockets (~> 2.0)
sprockets-sass (1.0.2)
sprockets (~> 2.0)
tilt (~> 1.1)
strong_parameters (0.2.1)
actionpack (~> 3.0)
activemodel (~> 3.0)
railties (~> 3.0)
thin (1.6.1)
daemons (>= 1.0.9)
eventmachine (>= 1.0.0)
rack (>= 1.0.0)
thor (0.18.1)
tilt (1.3.7)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.38)
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
whiskey_disk (0.6.24)
rake
xpath (2.0.0)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
active_model_serializers (~> 0.8.1)
addressable (~> 2.3.5)
better_errors
binding_of_caller
capybara
capybara-screenshot
capybara-webkit
database_cleaner
debugger
fabrication
launchy
middleman (~> 3.2.0)
middleman-bower
mongoid (~> 3.1.5)
mongoid-rspec
rack-rewrite
rails (= 3.2.15)
rails-api
rr
rspec-rails
strong_parameters (~> 0.2.1)
thin (~> 1.6.1)
whiskey_disk
23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Copyright (C) 2013 Jan Lelis [email protected]
Copyright (C) 2013 Marius Melzer [email protected]
Copyright (C) 2013 Stephan Thamm [email protected]
Copyright (C) 2013 Kilian Ulbrich [email protected]

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Palava HQ

This Rails-API app is part of the [palava project](https://palava.tv). However, you probably will not need to set this one up, when hosting your own palava, since it only adds the following non-WebRTC features:

- Leave your e-mail address and receive welcome mail
- Leave feedback
- Integration(E2E) tests for the [palava portal](https://github.com/palavatv/portal)

## Running Hints

Use the following ENV vars for configuring:

- `PALAVA_RTC_ADDRESS` Signaling backend to use. Default: "ws:localhost:4233"
- `PALAVA_PORTAL_DIR` Relative path to the [palava portal](https://github.com/palavatv/portal). Only needed for developing. Default: "../portal"

## Credits

MIT License. Part of the [palava project](https://palava.tv).

Copyright 2013 Jan Lelis [email protected]
Copyright 2013 Marius Melzer [email protected]
Copyright 2013 Stephan Thamm [email protected]
Copyright 2013 Kilian Ulbrich [email protected]
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

PalavaHq::Application.load_tasks
Loading

0 comments on commit d4e68ed

Please sign in to comment.