Giter Site home page Giter Site logo

sinatra-recipes's Introduction

Sinatra Recipes

Community contributed recipes and techniques for the Sinatra Web Framework.

Why yet another doc project?

Quite simply, the Sinatra README and Book have become long in the tooth.

This project is to extract any redundant and overlap between the two sources, and create a home for user contributed recipes and documentation to take form.

How can I help?

Got a recipe or tutorial for Sinatra? Awesome, this is the first place you should go if you're looking to contribute.

Once you have forked the project send a pull request, just be sure to follow the styling guidelines.

You can also get a hold of us on irc or the mailinglist.

Don't have any ideas? Check out the existing issue tracker for recipes that have been requested or are in progress.

Here's the run down

To get started you should clone the repository from github:

git clone git://github.com/sinatra/sinatra-recipes.git

Now once you cd into sinatra-recipes you should see a few things.

First you should take note of the application files:

app.rb # a tiny application for displaying the contributed recipes
config.ru # rackup file for deploying to heroku
Gemfile # dependencies file for bundler to run the app

If you want to run the application yourself first you need the bundler gem.

gem install bundler

If you are on Rubinius make sure that you have the latest bundler version installed. Versions prior to 1.0.10 won't work.

# then install the application dependencies
bundle install

Once that is complete, you should only need to run rackup in the application root and visit: localhost:9292

Since the application just maps the flat files, you can browse either the source or the web app to view recipes.

If you check out the source you will see a few folders listed, in each folder there is a README.md that will briefly explain the topic. This can also be view by going to /p/:topic where topic is the folder you wish to view.

In each folder there should be a number of recipes pertaining to each topic.

On translations

Currently we're not supporting translations in the main repository.

However, if you'd like to maintain a fork for translating the docs then feel free to do so, and add your fork to the list of translations in the wiki.

sinatra-recipes's People

Contributors

kgrz avatar jacaetevha avatar patriciomacadden avatar steveklabnik avatar johnmurray avatar burningtyger avatar daddz avatar rkh avatar caiotoon avatar cypher avatar neckbeardrails avatar huma- avatar andreimoment avatar sdalu avatar locks avatar artagnon avatar jeremyevans avatar gjastrab avatar siuying avatar fgrehm avatar ericgj avatar cschneid avatar

Watchers

Vipul A M avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.