Sha256: d600a67ebb4eda83a9691c0489e11b012dd5bf4b7bad5fbecc79e4aef4f4b130

Contents?: true

Size: 1.89 KB

Versions: 16

Compression:

Stored size: 1.89 KB

Contents

# MakeItSo

![Make It So](http://images.simplysyndicated.com/wp-content/uploads/2014/07/make-it-so-captain.jpg)

Make It So is a command line utility that makes it easy to create starting points
for all apps Ruby. Right now, it only supports Rails, but support for Sinatra,
Gosu, and other paradigms are in progress.

## Installation

Add this line to your application's Gemfile:

Install it yourself as:

    $ gem install make_it_so

## Usage


### Rails

In the terminal, run:

```no-highlight
make_it_so rails <app_name>
```

Then run:

```ruby
rake db:create
rake db:migrate
```

## Extra Footer in Views

Inject javascript at the end of the body tag. Javascript should always be the last thing loaded on the page. In view logic you can do the following:

```erb
<%= content_for :extra_footer do %>
  <script type="text/javascript">
    var widget = new Something.Widget('foo');
  </script>
<% end %>
```

### Sinatra

In the terminal, run:

```no-highlight
make_it_so sinatra <app_name>
```

By default, the generator, will create a sinatra root complete with an RSpec configuration.

### Gosu

In the terminal, run:
```no-highlight
make_it_so gosu <app_name>
```

By default, the generator, will create a gosu template complete with an RSpec configuration.

The tree structure looks like:  

```no-highlight  
GosuGame
├── Gemfile
├── README.md
├── game.rb
├── img
├── lib
│   ├── bounding_box.rb
│   └── keys.rb
└── spec
    └── spec_helper.rb
```  

To learn more about Gosu development [read through this tutorial](https://github.com/SpencerCDixon/Gosu-Tutorial)

## Contributing

1. Fork it ( https://github.com/[my-github-username]/make_it_so/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
make_it_so-0.4.1 README.md
make_it_so-0.4.0 README.md
make_it_so-0.3.8 README.md
make_it_so-0.3.7 README.md
make_it_so-0.3.6 README.md
make_it_so-0.3.5 README.md
make_it_so-0.3.4 README.md
make_it_so-0.2.4 README.md
make_it_so-0.2.3 README.md
make_it_so-0.1.4 README.md
make_it_so-0.1.3 README.md
make_it_so-0.1.1 README.md
make_it_so-0.1.0 README.md
make_it_so-0.0.9 README.md
make_it_so-0.0.7 README.md
make_it_so-0.0.6 README.md