Sha256: 0288a8341151b1365d556e29fb822e5244f7748708023a8fd985b2874040f251

Contents?: true

Size: 1.29 KB

Versions: 6

Compression:

Stored size: 1.29 KB

Contents

# Instapusher

Makes it easy to push an application to heroku.

### Installation

    gem install instapusher

## Setting up account

* Login at instapusher.com .
* Execute `instapusher --api-key` on local machine .

### Usage

In order to deploy your code first make sure that you are in the branch that you want to deploy.
Then execute this command.

```
instapusher
```

It detects project name and a branch from the git repo and starts deploying your project.

### Running background jobs and other rake tasks

Instapusher does not create workers on heroku for your project.
Background jobs or rake tasks should be run manually from the console.

``` sh
heroku run rake <TASK_NAME> --app <APP_NAME_GIVEN_BY_INSTAPUSHER>
```

For eg. to run delayed job workers

``` sh
heroku run rake jobs:work --app my-awesome-app-42-add-devise-authentication-ip
```

### How to setup webhook

![pic](https://api.monosnap.com/image/download?id=RAcyMFB5XbHbycsptMZnanTLN3L2oi)

### Deleting old instances

Heroku allows only 100 instances. Once 100 applications have been created by instapusher account then heroku does not create any new application and instapusher starts failing.

In order to delete old instances visit the project project and then "More" > "Reached limit".

### License

`instapusher` is released under MIT License.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
instapusher-0.1.9 README.md
instapusher-0.1.8 README.md
instapusher-0.1.7 README.md
instapusher-0.1.6 README.md
instapusher-0.1.5 README.md
instapusher-0.1.4 README.md