Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eon01/heroku-tools
Some heroku scripts and tools
https://github.com/eon01/heroku-tools
Last synced: about 1 month ago
JSON representation
Some heroku scripts and tools
- Host: GitHub
- URL: https://github.com/eon01/heroku-tools
- Owner: eon01
- Created: 2015-06-04T23:23:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T00:00:04.000Z (over 9 years ago)
- Last Synced: 2023-08-05T04:23:21.326Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# heroku-vim
To edit a file on a Heroku Dyno, you will need vim. Use this script to install it.
First, attach a Dyno bash to your terminal:```
$ heroku run bash
Running bash attached to terminal... up, run.1
~ $
```Then run:
```
wget -O - https://raw.githubusercontent.com/eon01/heroku-tools/master/heroku-vim.sh | bash
```# bashrc
Some usefull aliases:
```
alias h="heroku"
alias hl="heroku logs"
alias hlt="heroku logs -t"
alias hc="heroku run console"
alias hr="heroku run"
alias hp="heroku ps"
alias ho="heroku open"
alias hs="heroku status"
alias ha="heroku apps"
alias hu="heroku update"
alias hh="heroku help"
```Add this file to your Run Control Bash file (usually .bashrc or something like that)
```
curl -sS https://github.com/eon01/heroku-tools/raw/master/bashrc >> path_to_your_bashrc
```