Sha256: aa8459c382caad0c91146f964f4c9d8e96bc46b7c75f813e4efbe6d13482982c

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

# Sinatra::Template

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'sinatra-template'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sinatra-template

## Generating a New Project

```bash
$ sinatra new awesome_app
$ cd awesome_app
$ bundle
$ foreman start
```

## Testing

```bash
$ cd awesome_app
$ rake
```

## Starting

```bash
$ cd awesome_app
$ sinatra start [environment]
```

## Console

```bash
$ cd awesome_app
$ sinatra console [environment]
```

## Generating a New App

```bash
$ cd awesome_app
$ sinatra generate:app foo_app
```

### Destroying a New App

```bash
$ cd awesome_app
$ sinatra destroy:app foo_app
```

## Generating a New Model

```bash
$ cd awesome_app
$ sinatra generate:model user
```

### Destroying a New Model

```bash
$ cd awesome_app
$ sinatra destroy:model user
```

## Help

```bash
$ sinatra help
```

## Contributing

1. Fork it
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 new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinatra-template-1.3.0 README.md
sinatra-template-1.2.0 README.md
sinatra-template-1.1.0 README.md
sinatra-template-1.0.0 README.md