Last active
August 29, 2015 14:09
-
-
Save lealeelu/167092b6feedba8700e7 to your computer and use it in GitHub Desktop.
Avalon functions for .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Avalon functions | |
function avalon_start() { #says start but it's really more of a restart | |
bundle install; | |
rake db:migrate; | |
rake db:test:prepare; | |
rake avalon:services:stop; | |
rake avalon:services:start; | |
rake red5:start; | |
rails s; | |
} | |
function avalon_stop() { | |
rake avalon:services:stop; | |
rake red5:stop; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim ~/.bashrc #add the functions | |
source ~/.bashrc | |
cd <avalon directory> | |
avalon_start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment