Merge pull request #2252 from henrique2010/master
new useful aliases for zeus
This commit is contained in:
commit
1b337af758
@ -41,3 +41,13 @@
|
|||||||
|
|
||||||
* `zsw` aliases `rm .zeus.sock`
|
* `zsw` aliases `rm .zeus.sock`
|
||||||
* `zweep` aliases `rm .zeus.sock`
|
* `zweep` aliases `rm .zeus.sock`
|
||||||
|
|
||||||
|
`zdbr` aliases `zeus rake db:reset db:test:prepare`
|
||||||
|
`zdbreset` aliases `zeus rake db:reset db:test:prepare`
|
||||||
|
|
||||||
|
`zdbm` aliases `zeus rake db:migrate db:test:prepare`
|
||||||
|
`zdbmigrate` aliases `zeus rake db:migrate db:test:prepare`
|
||||||
|
|
||||||
|
`zdbc` aliases `zeus rake db:create`
|
||||||
|
|
||||||
|
`zdbcm` aliases `zeus rake db:create db:migrate db:test:prepare`
|
||||||
|
@ -53,3 +53,17 @@ alias zall='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
|
|||||||
# Clean up crashed zeus instances.
|
# Clean up crashed zeus instances.
|
||||||
alias zsw='rm .zeus.sock'
|
alias zsw='rm .zeus.sock'
|
||||||
alias zweep='rm .zeus.sock'
|
alias zweep='rm .zeus.sock'
|
||||||
|
|
||||||
|
# Reset database
|
||||||
|
alias zdbr='zeus rake db:reset db:test:prepare'
|
||||||
|
alias zdbreset='zeus rake db:reset db:test:prepare'
|
||||||
|
|
||||||
|
# Migrate and prepare database
|
||||||
|
alias zdbm='zeus rake db:migrate db:test:prepare'
|
||||||
|
alias zdbmigrate='zeus rake db:migrate db:test:prepare'
|
||||||
|
|
||||||
|
# Create database
|
||||||
|
alias zdbc='zeus rake db:create'
|
||||||
|
|
||||||
|
# Create, migrate and prepare database
|
||||||
|
alias zdbcm='zeus rake db:create db:migrate db:test:prepare'
|
Loading…
Reference in New Issue
Block a user