Sinatra Web App Template

It does all the things! Are you tired of mkdiring and touching every folder and file you need just to forget the config.ru file and have your app crash and burn on heroku? I was too! This sinatra builder app generates templates for all the basic neccessary pieces of your web app!

Pull requests and forks are encouranged! This is just a template but feel free to fork this repository and edit the script with the basic code that best suits your needs. And if I missed something, let me know!

Prerequisites

  • Mac
  • Ruby
  • Bundler

Installing

First, clone the repository to your machine. Next, navigate to the folder containing 'sinatra_builder.rb'. Lastly, run the ruby file in your terminal window with the command $ruby sinatra_builder.rb.

There is only one question! What do you want your project to be named?

The script will build your app on the desktop of your machine and run bundler for all your app dependencies!

Don't forget to 'git init'!

Built With

  • Ruby

Authors

  • Spencer Ruiz

License

Copyright (c) 2017 Spencer Alan Ruiz

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.