benevolent_gaze 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +112 -0
- data/Rakefile +2 -0
- data/benevolent_gaze.gemspec +35 -0
- data/bin/benevolent_gaze +5 -0
- data/frontend/.gitignore +15 -0
- data/frontend/Gemfile +21 -0
- data/frontend/Gemfile.lock +162 -0
- data/frontend/config.rb +56 -0
- data/frontend/data/site.yml +4 -0
- data/frontend/source/images/.gitkeep +0 -0
- data/frontend/source/images/board@1x.png +0 -0
- data/frontend/source/images/city@1x.png +0 -0
- data/frontend/source/images/complete_left_panel@1x.png +0 -0
- data/frontend/source/images/icon_password@1x.png +0 -0
- data/frontend/source/images/icon_wifi@1x.png +0 -0
- data/frontend/source/images/logo@1x.png +0 -0
- data/frontend/source/images/pin_rope@1x.png +0 -0
- data/frontend/source/images/register@2x.png +0 -0
- data/frontend/source/images/sky@1x.png +0 -0
- data/frontend/source/images/sky_register@1x.png +0 -0
- data/frontend/source/images/sun@1x.png +0 -0
- data/frontend/source/images/tape_left@1x.png +0 -0
- data/frontend/source/images/tape_right@1x.png +0 -0
- data/frontend/source/images/thanks@2x.png +0 -0
- data/frontend/source/images/uploads/info.txt +1 -0
- data/frontend/source/images/visitor_art@1x.png +0 -0
- data/frontend/source/images/welcome@1x.png +0 -0
- data/frontend/source/index.html.haml +33 -0
- data/frontend/source/javascripts/all.js +161 -0
- data/frontend/source/layouts/layout.haml +23 -0
- data/frontend/source/register.html.haml +21 -0
- data/frontend/source/stylesheets/animate.css.scss +3176 -0
- data/frontend/source/stylesheets/application.css.scss +291 -0
- data/frontend/source/thanks.html.haml +8 -0
- data/kiosk/.env +7 -0
- data/kiosk/Procfile +2 -0
- data/kiosk/public/fonts/bootstrap/glyphicons-halflings-regular-22037a34.woff +0 -0
- data/kiosk/public/fonts/bootstrap/glyphicons-halflings-regular-66b1fc67.svg +229 -0
- data/kiosk/public/fonts/bootstrap/glyphicons-halflings-regular-aafafdc0.ttf +0 -0
- data/kiosk/public/fonts/bootstrap/glyphicons-halflings-regular-f3a9a3b6.eot +0 -0
- data/kiosk/public/images/board@1x-b5fb87e5.png +0 -0
- data/kiosk/public/images/city@1x-22396032.png +0 -0
- data/kiosk/public/images/complete_left_panel@1x-7dec25da.png +0 -0
- data/kiosk/public/images/icon_password@1x-fb34b974.png +0 -0
- data/kiosk/public/images/icon_wifi@1x-e92e9c20.png +0 -0
- data/kiosk/public/images/logo@1x-927932fa.png +0 -0
- data/kiosk/public/images/pin_rope@1x-f5912856.png +0 -0
- data/kiosk/public/images/register@2x-328082c6.png +0 -0
- data/kiosk/public/images/sky@1x-47babe39.png +0 -0
- data/kiosk/public/images/sky_register@1x-cd96f779.png +0 -0
- data/kiosk/public/images/sun@1x-4f644bff.png +0 -0
- data/kiosk/public/images/tape_left@1x-9f3af6c1.png +0 -0
- data/kiosk/public/images/tape_right@1x-646752c4.png +0 -0
- data/kiosk/public/images/thanks@2x-694b424f.png +0 -0
- data/kiosk/public/images/uploads/info.txt +1 -0
- data/kiosk/public/images/visitor_art@1x-21d82dcb.png +0 -0
- data/kiosk/public/images/welcome@1x-7d17fbb9.png +0 -0
- data/kiosk/public/index.html +74 -0
- data/kiosk/public/javascripts/all-eb365891.js +12256 -0
- data/kiosk/public/register.html +52 -0
- data/kiosk/public/stylesheets/animate-31203878.css +6 -0
- data/kiosk/public/stylesheets/application-70841e1d.css +1 -0
- data/kiosk/public/thanks.html +36 -0
- data/lib/benevolent_gaze/bgapp.rb +39 -0
- data/lib/benevolent_gaze/cli.rb +153 -0
- data/lib/benevolent_gaze/kiosk.rb +164 -0
- data/lib/benevolent_gaze/kiosk_bak.rb +164 -0
- data/lib/benevolent_gaze/tracker.rb +87 -0
- data/lib/benevolent_gaze/version.rb +3 -0
- data/lib/benevolent_gaze.rb +5 -0
- data/website/.gitignore +18 -0
- data/website/Gemfile +20 -0
- data/website/Gemfile.lock +151 -0
- data/website/config.rb +58 -0
- data/website/data/site.yml +4 -0
- data/website/source/CNAME +1 -0
- data/website/source/fonts/OpenSans-Regular-webfont.eot +0 -0
- data/website/source/fonts/OpenSans-Regular-webfont.svg +1831 -0
- data/website/source/fonts/OpenSans-Regular-webfont.ttf +0 -0
- data/website/source/fonts/OpenSans-Regular-webfont.woff +0 -0
- data/website/source/fonts/Oswald-Bold.eot +0 -0
- data/website/source/fonts/Oswald-Bold.svg +0 -0
- data/website/source/fonts/Oswald-Bold.ttf +0 -0
- data/website/source/fonts/Oswald-Bold.woff +0 -0
- data/website/source/fonts/Oswald-Light.eot +0 -0
- data/website/source/fonts/Oswald-Light.svg +0 -0
- data/website/source/fonts/Oswald-Light.ttf +0 -0
- data/website/source/fonts/Oswald-Light.woff +0 -0
- data/website/source/fonts/Oswald-Regular.eot +0 -0
- data/website/source/fonts/Oswald-Regular.svg +0 -0
- data/website/source/fonts/Oswald-Regular.ttf +0 -0
- data/website/source/fonts/Oswald-Regular.woff +0 -0
- data/website/source/fonts/TradeGothic-BoldCondTwenty.eot +0 -0
- data/website/source/fonts/TradeGothic-BoldCondTwenty.svg +0 -0
- data/website/source/fonts/TradeGothic-BoldCondTwenty.ttf +0 -0
- data/website/source/fonts/TradeGothic-BoldCondTwenty.woff +0 -0
- data/website/source/fonts/TradeGothic-CondEighteen.eot +0 -0
- data/website/source/fonts/TradeGothic-CondEighteen.svg +0 -0
- data/website/source/fonts/TradeGothic-CondEighteen.ttf +0 -0
- data/website/source/fonts/TradeGothic-CondEighteen.woff +0 -0
- data/website/source/fonts/telegrafico_by_ficod-webfont.eot +0 -0
- data/website/source/fonts/telegrafico_by_ficod-webfont.svg +95 -0
- data/website/source/fonts/telegrafico_by_ficod-webfont.ttf +0 -0
- data/website/source/fonts/telegrafico_by_ficod-webfont.woff +0 -0
- data/website/source/images/.gitkeep +0 -0
- data/website/source/images/gaze.png +0 -0
- data/website/source/images/splash/accessorized_badge@2x.png +0 -0
- data/website/source/images/splash/benevolent_gaze_icon@2x.png +0 -0
- data/website/source/images/splash/benevolent_gaze_logo@2x.png +0 -0
- data/website/source/images/splash/benevolent_gaze_logo_color@2x.png +0 -0
- data/website/source/images/splash/benevolent_gaze_text@2x.png +0 -0
- data/website/source/images/splash/brackets.png +0 -0
- data/website/source/images/splash/checkmark.png +0 -0
- data/website/source/images/splash/circle_for_logo@2x.png +0 -0
- data/website/source/images/splash/cloud_cover@2x.png +0 -0
- data/website/source/images/splash/clouds.png +0 -0
- data/website/source/images/splash/complete_badge@2x.png +0 -0
- data/website/source/images/splash/down_arrow.png +0 -0
- data/website/source/images/splash/easy_badge@2x.png +0 -0
- data/website/source/images/splash/faded-clouds.png +0 -0
- data/website/source/images/splash/github_banner@2x.png +0 -0
- data/website/source/images/splash/hero_bkg.png +0 -0
- data/website/source/images/splash/left-bracket.png +0 -0
- data/website/source/images/splash/more-awesome-stuff.png +0 -0
- data/website/source/images/splash/overbracket.png +0 -0
- data/website/source/images/splash/rainbow@2x.png +0 -0
- data/website/source/images/splash/rainbow_banner@2x.png +0 -0
- data/website/source/images/splash/right-bracket.png +0 -0
- data/website/source/images/splash/seed-logo-color.png +0 -0
- data/website/source/images/splash/seed-logo.png +0 -0
- data/website/source/images/splash/sensible-defaults.png +0 -0
- data/website/source/images/splash/single_check@2x.png +0 -0
- data/website/source/images/splash/sky_background.png +0 -0
- data/website/source/images/splash/solid-gems.png +0 -0
- data/website/source/images/splash/ted.png +0 -0
- data/website/source/images/splash/ted_on_unicorn@2x.png +0 -0
- data/website/source/images/splash/view-me-on-github.png +0 -0
- data/website/source/index.html.haml +181 -0
- data/website/source/javascripts/all.js +3 -0
- data/website/source/javascripts/modernizr.js +1406 -0
- data/website/source/javascripts/scrollReveal.js +398 -0
- data/website/source/layouts/_footer.html.haml +34 -0
- data/website/source/layouts/_javascripts.erb +9 -0
- data/website/source/layouts/docs_layout.haml +23 -0
- data/website/source/layouts/layout.haml +87 -0
- data/website/source/stylesheets/animate.css +3158 -0
- data/website/source/stylesheets/application.css.scss +534 -0
- data/website/source/stylesheets/fonts/socicon-webfont.eot +0 -0
- data/website/source/stylesheets/fonts/socicon-webfont.svg +90 -0
- data/website/source/stylesheets/fonts/socicon-webfont.ttf +0 -0
- data/website/source/stylesheets/fonts/socicon-webfont.woff +0 -0
- data/website/source/stylesheets/socicons.css +124 -0
- metadata +382 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 28fcf63625230998b7ad585fddbd471f4d1eb023
|
4
|
+
data.tar.gz: c559d5da2ca8030ab56228bf4b669619b2f4fe3c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 36f0ba0bfba56fc13e414fd5714a952af9177146352b6d71937139013bcf9766eefd0a3becbd06cca69db844a93042d786cd819a2653f025f9b27651894e50d6
|
7
|
+
data.tar.gz: 913cde1fb8f76c89d2290de620e3c9471d3e9e8e3370685b0670d756bfb487155fea3b5a395f3d83f5ae921f74d09982470b0664de28a171101502f732c8394c
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Will Schenk
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
# BenevolentGaze
|
2
|
+
|
3
|
+
|
4
|
+
First, let's see if this version of Benevolent Gaze will work with your current network setup. Run the following command from your terminal:
|
5
|
+
|
6
|
+
```$ ifconfig -a |awk '/broadcast/ { print $2 }' | xargs host```
|
7
|
+
|
8
|
+
If it returns something like:
|
9
|
+
|
10
|
+
```21.1.168.192.in-addr.arpa domain name pointer Aarons-MBP.home.```
|
11
|
+
|
12
|
+
You can use Benevolent Gaze! If it doesn't return a host name, you will have to wait for a future version of Benevolent Gaze.
|
13
|
+
|
14
|
+
Now let's get down to business!
|
15
|
+
|
16
|
+
## Install the gem
|
17
|
+
|
18
|
+
```$ gem install benevolent_gaze```
|
19
|
+
|
20
|
+
## Install a couple dependencies.
|
21
|
+
|
22
|
+
You will need to install parallel and Redis. If you use Homebrew, it is as easy as:
|
23
|
+
|
24
|
+
```$ brew install parallel```
|
25
|
+
|
26
|
+
```$ brew install redis```
|
27
|
+
|
28
|
+
You will also need to install Foreman.
|
29
|
+
|
30
|
+
```$ gem install foreman```
|
31
|
+
|
32
|
+
Then in the directory where you want your Benevolent Gaze related things to live (public folder, images etc.) Run the following command:
|
33
|
+
|
34
|
+
```$ benevolent_gaze install wifi_username wifi_password```
|
35
|
+
|
36
|
+
This requires two arguments, your wifi username and password so that guests know how to get on your network and be looked on by the Benevolent Gaze.
|
37
|
+
|
38
|
+
This command creates a folder caled bg_public which contains a Procfile to use with Foreman so that you can start the kiosk and the tracker. The kiosk is the web UI that lives at localhost:4567. The tracker is the script that scans your network and reports on who has joined.
|
39
|
+
|
40
|
+
## Get your environment ready.
|
41
|
+
|
42
|
+
If you ran the `benevolent_gaze install` command above, you should now have a Procfile and .env file in your folder. The Procfile is good to go. The .env file will need populated with relevant information however. Leave the PORT set to 4567.
|
43
|
+
|
44
|
+
AWS_ACCESS_KEY_ID='_insert_your_aws_access_key_here_'
|
45
|
+
AWS_CDN_BUCKET='_insert_your_aws_bucket_here_'
|
46
|
+
AWS_SECRET_ACCESS_KEY='_insert_your_aws_secret_access_key_here_'
|
47
|
+
BG_COMPANY_URL='http://www.yourcompanywebsite.com/where_you_mounted_the_benevolent_gaze_app'
|
48
|
+
IPORT=4567
|
49
|
+
PORT=4567
|
50
|
+
|
51
|
+
|
52
|
+
***You can use your local file system to save image uploads instead of AWS by just not filling in your AWS creds. It defaults to saving to your local file system if you haven't supplied any credentials.***
|
53
|
+
|
54
|
+
## Add a register url to your site.
|
55
|
+
|
56
|
+
If you want users to associate an image and a name other than their device name with their devices you should add the following to your web app that you want to add the registration url to. Add the following to your routes.rb file.
|
57
|
+
|
58
|
+
```
|
59
|
+
mount BenevolentGaze::BGApp, at: '/register'
|
60
|
+
```
|
61
|
+
|
62
|
+
And make sure that you've included the class in an initializer:
|
63
|
+
|
64
|
+
```
|
65
|
+
require 'benevolent_gaze/bgapp'
|
66
|
+
```
|
67
|
+
|
68
|
+
This works by receiving information from the tracker you have running on your local network. So when users hit yoursite.com/register they are redirected to where you have the local kiosk running. Users can now upload a photo, and if they give their same name to all of their devices, they will all be grouped under one avatar.
|
69
|
+
|
70
|
+
Animated gifs are supported as well.
|
71
|
+
|
72
|
+
## Now that you are set up. Let's get it up and running!
|
73
|
+
|
74
|
+
### Step 1.
|
75
|
+
|
76
|
+
Make sure you have Redis running both locally and on the app where you mounted the application. You will need to set your redistogo url in an environment variable called REDISTOGO_URL on heroku (or wherever you have deployed the app where you mounted the registration endpoint).
|
77
|
+
|
78
|
+
```$ heroku config:set REDISTOGO_URL=''```
|
79
|
+
|
80
|
+
### Step 2.
|
81
|
+
|
82
|
+
Start your local benevolent_gaze instance. Go into your bg_public folder and run:
|
83
|
+
|
84
|
+
```$ foreman start```
|
85
|
+
|
86
|
+
### Step 3.
|
87
|
+
|
88
|
+
Go to localhost:4567 and check out the interface. You should be able to see people on the right hand side of the screen like the screenshot above!
|
89
|
+
|
90
|
+
### Step 4.
|
91
|
+
|
92
|
+
Enjoy Benevolent Gaze with your friends and fellow colleagues!
|
93
|
+
|
94
|
+
## We also provide a command line tool to help you add users.
|
95
|
+
|
96
|
+
### You can add users one at a time in the following way:
|
97
|
+
|
98
|
+
```$ benevolent_gaze add_user device name image```
|
99
|
+
|
100
|
+
Running the above command using the device name of the users device, their real name and a url to their image will add them to redis and will help them be identified when they join the network. You would use this if you already had this information. Remember, they can register themselves as well, if you provide the registration URL mentioned above, or use http://www.happyfuncorp.com/register.
|
101
|
+
|
102
|
+
### You can assign current users without names an image and a real name by using the following command:
|
103
|
+
|
104
|
+
```$ benevolent_gaze assign_users```
|
105
|
+
|
106
|
+
This will prompt you for the current users on the network, if any of them do not have a real name or image, it will ask you to provide one.
|
107
|
+
|
108
|
+
### You can bulk assign users using a CSV by using the following command:
|
109
|
+
|
110
|
+
```$ benevolent_gaze bulk_assign yourcsv.csv```
|
111
|
+
|
112
|
+
This expects a csv formatted with the columns device-name, real-name, and image-url.
|
data/Rakefile
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'benevolent_gaze/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "benevolent_gaze"
|
8
|
+
spec.version = BenevolentGaze::VERSION
|
9
|
+
spec.authors = ["Will Schenk, Aaron Brocken"]
|
10
|
+
spec.email = ["wschenk@gmail.com, aaron@happyfuncorp.com"]
|
11
|
+
spec.summary = %q{See your coworkers.}
|
12
|
+
spec.description = %q{See your coworkers. Totally not creepy.}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "sinatra"
|
22
|
+
spec.add_dependency "redis"
|
23
|
+
spec.add_dependency "sinatra-support"
|
24
|
+
spec.add_dependency "sinatra-contrib"
|
25
|
+
spec.add_dependency "thin"
|
26
|
+
spec.add_dependency "json"
|
27
|
+
spec.add_dependency "httparty"
|
28
|
+
spec.add_dependency "sinatra-cross_origin", "~> 0.3.1"
|
29
|
+
spec.add_dependency "aws-s3"
|
30
|
+
spec.add_dependency "mini_magick"
|
31
|
+
spec.add_dependency "thor"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
end
|
data/bin/benevolent_gaze
ADDED
data/frontend/.gitignore
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore cache
|
11
|
+
/.sass-cache
|
12
|
+
/.cache
|
13
|
+
|
14
|
+
# Ignore .DS_store file
|
15
|
+
.DS_Store
|
data/frontend/Gemfile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# If you do not have OpenSSL installed, update
|
2
|
+
# the following line to use "http://" instead
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
gem "middleman", "~>3.3.7"
|
6
|
+
gem "middleman-deploy"
|
7
|
+
gem "middleman-meta-tags", github: "happyfuncode/middleman-meta-tags", branch: "develop"
|
8
|
+
gem "middleman-livereload", "~> 3.1.0"
|
9
|
+
gem 'middleman-bootstrap-navbar'
|
10
|
+
|
11
|
+
gem "bootstrap-sass"
|
12
|
+
gem "jquery-middleman"
|
13
|
+
|
14
|
+
# For faster file watcher updates on Windows:
|
15
|
+
gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]
|
16
|
+
|
17
|
+
# Windows does not come with time zone data
|
18
|
+
gem "tzinfo-data", platforms: [:mswin, :mingw]
|
19
|
+
|
20
|
+
gem "builder", "~> 3.0"
|
21
|
+
|
@@ -0,0 +1,162 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/happyfuncode/middleman-meta-tags.git
|
3
|
+
revision: fd6d03f84216def82b684693aefb234af6534980
|
4
|
+
branch: develop
|
5
|
+
specs:
|
6
|
+
middleman-meta-tags (0.0.1)
|
7
|
+
middleman-core (>= 3.0.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activesupport (4.1.7)
|
13
|
+
i18n (~> 0.6, >= 0.6.9)
|
14
|
+
json (~> 1.7, >= 1.7.7)
|
15
|
+
minitest (~> 5.1)
|
16
|
+
thread_safe (~> 0.1)
|
17
|
+
tzinfo (~> 1.1)
|
18
|
+
bootstrap-navbar (2.2.2)
|
19
|
+
gem_config (~> 0.3)
|
20
|
+
bootstrap-sass (3.3.1.0)
|
21
|
+
sass (~> 3.2)
|
22
|
+
builder (3.2.2)
|
23
|
+
celluloid (0.16.0)
|
24
|
+
timers (~> 4.0.0)
|
25
|
+
chunky_png (1.3.3)
|
26
|
+
coffee-script (2.3.0)
|
27
|
+
coffee-script-source
|
28
|
+
execjs
|
29
|
+
coffee-script-source (1.8.0)
|
30
|
+
compass (1.0.1)
|
31
|
+
chunky_png (~> 1.2)
|
32
|
+
compass-core (~> 1.0.1)
|
33
|
+
compass-import-once (~> 1.0.5)
|
34
|
+
rb-fsevent (>= 0.9.3)
|
35
|
+
rb-inotify (>= 0.9)
|
36
|
+
sass (>= 3.3.13, < 3.5)
|
37
|
+
compass-core (1.0.1)
|
38
|
+
multi_json (~> 1.0)
|
39
|
+
sass (>= 3.3.0, < 3.5)
|
40
|
+
compass-import-once (1.0.5)
|
41
|
+
sass (>= 3.2, < 3.5)
|
42
|
+
em-websocket (0.5.1)
|
43
|
+
eventmachine (>= 0.12.9)
|
44
|
+
http_parser.rb (~> 0.6.0)
|
45
|
+
erubis (2.7.0)
|
46
|
+
eventmachine (1.0.3)
|
47
|
+
execjs (2.2.2)
|
48
|
+
ffi (1.9.6)
|
49
|
+
gem_config (0.3.1)
|
50
|
+
haml (4.0.5)
|
51
|
+
tilt
|
52
|
+
hike (1.2.3)
|
53
|
+
hitimes (1.2.2)
|
54
|
+
hooks (0.4.0)
|
55
|
+
uber (~> 0.0.4)
|
56
|
+
http_parser.rb (0.6.0)
|
57
|
+
i18n (0.6.11)
|
58
|
+
jquery-middleman (3.0.4)
|
59
|
+
thor (>= 0.14, < 2.0)
|
60
|
+
json (1.8.1)
|
61
|
+
kramdown (1.5.0)
|
62
|
+
listen (2.8.0)
|
63
|
+
celluloid (>= 0.15.2)
|
64
|
+
rb-fsevent (>= 0.9.3)
|
65
|
+
rb-inotify (>= 0.9)
|
66
|
+
middleman (3.3.7)
|
67
|
+
coffee-script (~> 2.2)
|
68
|
+
compass (>= 1.0.0, < 2.0.0)
|
69
|
+
compass-import-once (= 1.0.5)
|
70
|
+
execjs (~> 2.0)
|
71
|
+
haml (>= 4.0.5)
|
72
|
+
kramdown (~> 1.2)
|
73
|
+
middleman-core (= 3.3.7)
|
74
|
+
middleman-sprockets (>= 3.1.2)
|
75
|
+
sass (>= 3.4.0, < 4.0)
|
76
|
+
uglifier (~> 2.5)
|
77
|
+
middleman-bootstrap-navbar (2.0.0)
|
78
|
+
bootstrap-navbar (~> 2.0)
|
79
|
+
middleman-core (>= 3.0)
|
80
|
+
middleman-core (3.3.7)
|
81
|
+
activesupport (~> 4.1.0)
|
82
|
+
bundler (~> 1.1)
|
83
|
+
erubis
|
84
|
+
hooks (~> 0.3)
|
85
|
+
i18n (~> 0.6.9)
|
86
|
+
listen (>= 2.7.9, < 3.0)
|
87
|
+
padrino-helpers (~> 0.12.3)
|
88
|
+
rack (>= 1.4.5, < 2.0)
|
89
|
+
rack-test (~> 0.6.2)
|
90
|
+
thor (>= 0.15.2, < 2.0)
|
91
|
+
tilt (~> 1.4.1, < 2.0)
|
92
|
+
middleman-deploy (0.3.0)
|
93
|
+
middleman-core (>= 3.2)
|
94
|
+
net-sftp
|
95
|
+
ptools
|
96
|
+
middleman-livereload (3.1.1)
|
97
|
+
em-websocket (>= 0.2.0)
|
98
|
+
middleman-core (>= 3.0.2)
|
99
|
+
multi_json (~> 1.0)
|
100
|
+
rack-livereload
|
101
|
+
middleman-sprockets (3.3.10)
|
102
|
+
middleman-core (~> 3.3)
|
103
|
+
sprockets (~> 2.12.1)
|
104
|
+
sprockets-helpers (~> 1.1.0)
|
105
|
+
sprockets-sass (~> 1.2.0)
|
106
|
+
minitest (5.4.3)
|
107
|
+
multi_json (1.10.1)
|
108
|
+
net-sftp (2.1.2)
|
109
|
+
net-ssh (>= 2.6.5)
|
110
|
+
net-ssh (2.9.1)
|
111
|
+
padrino-helpers (0.12.4)
|
112
|
+
i18n (~> 0.6, >= 0.6.7)
|
113
|
+
padrino-support (= 0.12.4)
|
114
|
+
tilt (~> 1.4.1)
|
115
|
+
padrino-support (0.12.4)
|
116
|
+
activesupport (>= 3.1)
|
117
|
+
ptools (1.2.6)
|
118
|
+
rack (1.5.2)
|
119
|
+
rack-livereload (0.3.15)
|
120
|
+
rack
|
121
|
+
rack-test (0.6.2)
|
122
|
+
rack (>= 1.0)
|
123
|
+
rb-fsevent (0.9.4)
|
124
|
+
rb-inotify (0.9.5)
|
125
|
+
ffi (>= 0.5.0)
|
126
|
+
sass (3.4.8)
|
127
|
+
sprockets (2.12.3)
|
128
|
+
hike (~> 1.2)
|
129
|
+
multi_json (~> 1.0)
|
130
|
+
rack (~> 1.0)
|
131
|
+
tilt (~> 1.1, != 1.3.0)
|
132
|
+
sprockets-helpers (1.1.0)
|
133
|
+
sprockets (~> 2.0)
|
134
|
+
sprockets-sass (1.2.0)
|
135
|
+
sprockets (~> 2.0)
|
136
|
+
tilt (~> 1.1)
|
137
|
+
thor (0.19.1)
|
138
|
+
thread_safe (0.3.4)
|
139
|
+
tilt (1.4.1)
|
140
|
+
timers (4.0.1)
|
141
|
+
hitimes
|
142
|
+
tzinfo (1.2.2)
|
143
|
+
thread_safe (~> 0.1)
|
144
|
+
uber (0.0.11)
|
145
|
+
uglifier (2.5.3)
|
146
|
+
execjs (>= 0.3.0)
|
147
|
+
json (>= 1.8.0)
|
148
|
+
|
149
|
+
PLATFORMS
|
150
|
+
ruby
|
151
|
+
|
152
|
+
DEPENDENCIES
|
153
|
+
bootstrap-sass
|
154
|
+
builder (~> 3.0)
|
155
|
+
jquery-middleman
|
156
|
+
middleman (~> 3.3.7)
|
157
|
+
middleman-bootstrap-navbar
|
158
|
+
middleman-deploy
|
159
|
+
middleman-livereload (~> 3.1.0)
|
160
|
+
middleman-meta-tags!
|
161
|
+
tzinfo-data
|
162
|
+
wdm (~> 0.1.0)
|
data/frontend/config.rb
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# For custom domains on github pages
|
2
|
+
page "CNAME", layout: false
|
3
|
+
|
4
|
+
set :build_dir, '../kiosk/public'
|
5
|
+
set :css_dir, 'stylesheets'
|
6
|
+
set :js_dir, 'javascripts'
|
7
|
+
set :images_dir, 'images'
|
8
|
+
|
9
|
+
# Better markdown support
|
10
|
+
# set :markdown, :tables => true, :autolink => true, :gh_blockcode => true, :fenced_code_blocks => true
|
11
|
+
# set :markdown_engine, :redcarpet
|
12
|
+
|
13
|
+
activate :meta_tags
|
14
|
+
|
15
|
+
# Turn this on if you want to make your url's prettier, without the .html
|
16
|
+
# activate :directory_indexes
|
17
|
+
|
18
|
+
# Automatic image dimensions on image_tag helper
|
19
|
+
# activate :automatic_image_sizes
|
20
|
+
|
21
|
+
# Easier bootstrap navbars
|
22
|
+
activate :bootstrap_navbar
|
23
|
+
|
24
|
+
configure :development do
|
25
|
+
activate :livereload
|
26
|
+
end
|
27
|
+
|
28
|
+
# Build-specific configuration
|
29
|
+
configure :build do
|
30
|
+
# Any files you want to ignore:
|
31
|
+
ignore '/admin/*'
|
32
|
+
ignore '/stylesheets/admin/*'
|
33
|
+
|
34
|
+
# For example, change the Compass output style for deployment
|
35
|
+
activate :minify_css
|
36
|
+
|
37
|
+
# Minify Javascript on build
|
38
|
+
#activate :minify_javascript
|
39
|
+
|
40
|
+
# Enable cache buster
|
41
|
+
activate :asset_hash
|
42
|
+
|
43
|
+
# Use relative URLs
|
44
|
+
activate :relative_assets
|
45
|
+
|
46
|
+
# Or use a different image path
|
47
|
+
# set :http_prefix, "/blog/"
|
48
|
+
end
|
49
|
+
|
50
|
+
|
51
|
+
# This will push to the gh-pages branch of the repo, which will
|
52
|
+
# host it on github pages (If this is a github repository)
|
53
|
+
activate :deploy do |deploy|
|
54
|
+
deploy.method = :git
|
55
|
+
deploy.build_before = true
|
56
|
+
end
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
This is where uploads will be saved if you do not provide AWS creds in your .env file.
|
Binary file
|
Binary file
|
@@ -0,0 +1,33 @@
|
|
1
|
+
.container-fluid
|
2
|
+
.row
|
3
|
+
.left_column.col-md-5.sky
|
4
|
+
.row
|
5
|
+
.logo.text-center
|
6
|
+
= image_tag "/images/logo@1x.png"
|
7
|
+
.welcomes.text-center
|
8
|
+
= image_tag "/images/welcome@1x.png"
|
9
|
+
.newcomer.text-center.row
|
10
|
+
%h3
|
11
|
+
.newcomer_avatar.text-center.row
|
12
|
+
= image_tag "/images/visitor_art@1x.png", class: "img-circle img-responsive"
|
13
|
+
.sun.text-center
|
14
|
+
= image_tag "/images/sun@1x.png"
|
15
|
+
.town.text-center
|
16
|
+
= image_tag "/images/city@1x.png"
|
17
|
+
.wifi.col-md-6.col-md-offset-3
|
18
|
+
.row
|
19
|
+
%h3.register_url http://www.happyfuncorp.com/register
|
20
|
+
.row
|
21
|
+
%h3.pull-left.uname happyfuncorp3
|
22
|
+
%h3.pull-right.pword happiness4u
|
23
|
+
.right_column.col-md-7.board.med
|
24
|
+
.row
|
25
|
+
.worker.text-center.hidden
|
26
|
+
.pin_and_avatar_container
|
27
|
+
.pin_rope
|
28
|
+
= image_tag "/images/pin_rope@1x.png", class: "img-responsive"
|
29
|
+
.avatar_container.text-center
|
30
|
+
=# image_tag "/images/visitor_art@1x.png", class: "img-circle img-responsive"
|
31
|
+
= image_tag "/images/visitor_art@1x.png"
|
32
|
+
%h3.tape Ted
|
33
|
+
|