-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kohactive/2017-darkohbooth
Darkohbooth!
- Loading branch information
Showing
141 changed files
with
365 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
AWS_ACCESS_KEY_ID="***" | ||
AWS_SECRET_ACCESS_KEY="****" | ||
AWS_REGION="us-east-1" | ||
AWS_BUCKET="psykohbooth" | ||
AWS_BUCKET="darkohbooth.kohactive.com" | ||
AWS_DIRECTORY="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
sourceType: 'module' | ||
}, | ||
extends: 'eslint:recommended', | ||
env: { | ||
browser: true | ||
}, | ||
rules: { | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
--- | ||
language: node_js | ||
node_js: | ||
- "4" | ||
- "6" | ||
|
||
sudo: false | ||
dist: trusty | ||
|
||
addons: | ||
chrome: stable | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- $HOME/.npm | ||
|
||
env: | ||
global: | ||
# See https://git.io/vdao3 for details. | ||
- JOBS=1 | ||
|
||
before_install: | ||
- npm config set spin false | ||
- npm install -g bower | ||
- npm install phantomjs-prebuilt | ||
|
||
install: | ||
- npm install | ||
- bower install | ||
|
||
script: | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
# Psykohbooth | ||
# kohtobooth | ||
|
||
This README outlines the details of collaborating on this Ember application. | ||
A short introduction of this app could easily go here. | ||
* [2017 Halloween Party - darkohbooth.kohactive.com](http://darkohbooth.kohactive.com) | ||
* [2016 Halloween Party - psykohbooth.kohactive.com](http://psykohbooth.kohactive.com) | ||
|
||
## The Physical Photobooth Setup | ||
|
||
* iPad on a stand with a ring light | ||
* [Simple Booth Event Edition app](https://www.simplebooth.com/apps) | ||
|
||
## How the Images Get to this App | ||
* [ifttt](https://itunes.apple.com/us/app/ifttt/id660944635?mt=8) app pushes all new photos on the iPad to a Google Drive folder(currently [email protected]/Halloween Photo Booth/2017) | ||
* The ifttt app must be running in the background for this to happen(should run every 5-10 mins), otherwise it will sync every time the ifttt app is opened. | ||
* [Zapier](zapier.com) checks the Drive folder every 5 minutes and sends a new record to [Firebase](https://firebase.google.com) for each new photo | ||
|
||
## Prerequisites | ||
|
||
You will need the following things properly installed on your computer. | ||
|
||
* [Git](http://git-scm.com/) | ||
* [Node.js](http://nodejs.org/) (with NPM) | ||
* [Bower](http://bower.io/) | ||
* [Ember CLI](http://ember-cli.com/) | ||
* [PhantomJS](http://phantomjs.org/) | ||
* [Git](https://git-scm.com/) | ||
* [Node.js](https://nodejs.org/) (with NPM) | ||
* [Ember CLI](https://ember-cli.com/) | ||
* [Google Chrome](https://google.com/chrome/) | ||
|
||
## Installation | ||
|
||
* `git clone <repository-url>` this repository | ||
* change into the new directory | ||
* `cd my-app` | ||
* `npm install` | ||
* `bower install` | ||
|
||
## Running / Development | ||
|
||
* `ember server` | ||
* `ember serve` | ||
* Visit your app at [http://localhost:4200](http://localhost:4200). | ||
* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests). | ||
|
||
### Code Generators | ||
|
||
|
@@ -45,9 +54,8 @@ Specify what it takes to deploy your app. | |
|
||
## Further Reading / Useful Links | ||
|
||
* [ember.js](http://emberjs.com/) | ||
* [ember-cli](http://ember-cli.com/) | ||
* [ember.js](https://emberjs.com/) | ||
* [ember-cli](https://ember-cli.com/) | ||
* Development Browser Extensions | ||
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi) | ||
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import FirebaseAdapter from 'emberfire/adapters/firebase'; | ||
|
||
export default FirebaseAdapter.extend({ | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import DS from 'ember-data'; | ||
|
||
export default DS.Model.extend({ | ||
direct_media_link : DS.attr('string'), | ||
share_link : DS.attr('string'), | ||
file : DS.attr('string'), | ||
downloadUrl : DS.attr('string'), | ||
embedLink : DS.attr('string'), | ||
webContentLink : DS.attr('string'), | ||
|
||
url: Ember.computed('downloadUrl', function() { | ||
if(this.get('downloadUrl')){ | ||
return this.get('downloadUrl').split('&e')[0]; | ||
} | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
import Ember from 'ember'; | ||
import { inject as service } from '@ember/service'; | ||
import Route from '@ember/routing/route'; | ||
|
||
export default Ember.Route.extend({ | ||
images: Ember.inject.service(), | ||
export default Route.extend({ | ||
images: service(), | ||
|
||
model() { | ||
return this.get('images').filenames(); | ||
// var newPost = this.store.createRecord('image', { | ||
// title: 'EmberFire is flaming hot!', | ||
// body: 'You can store and sync data in realtime without a backend.' | ||
// }); | ||
// newPost.save(); | ||
|
||
// return this.get('images').filenames(); | ||
return this.store.findAll('image'); | ||
}, | ||
|
||
actions: { | ||
showImage(image) { | ||
this.transitionTo('index.image', image); | ||
this.transitionTo('index.image', image.get('id')); | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.