Skip to content

A demo site made using Sinatra, Microsoft Translate, and some HTML/CSS

Notifications You must be signed in to change notification settings

donovanh/Quacker

Repository files navigation

Quacker

This is a demo site I constructed while learning some Sinatra basics. If it's of use, feel free to have a poke at it. I'd only ask that you not pass it off as your own work.

##Live example

For the moment, the crazy duck quacks at quack.herokuapp.com

Usage

As the site is Sinatra based, you need to have Ruby installed. The Gemfile lists dependencies.

Settings

I've referenced a settings.rb file in the app.rb. So that nothing explodes, you'll need to make a "settings.rb" file in the root with the following structure:

set :twitter_id => 'foo mcfoo',
   :twitter_secret => 'scrooge mcduck',
   :microsoft_translate_id => 'omg-bbq',
   :microsoft_translate_secret => 'dat secret ='

Start your engines

Get the local server going by running:

bundle exec shotgun config.ru

The CSS files are generated from the SASS files in the views/stylesheets directory. Get compass going by running:

compass watch

License

Copyright (c) 2012 Donovan Hutchinson

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.

About

A demo site made using Sinatra, Microsoft Translate, and some HTML/CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published