Skip to content

Instantly share code, notes, and snippets.

@lealeelu lealeelu/Instructions
Last active Aug 29, 2015

Embed
What would you like to do?
Avalon functions for .bashrc
# 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;
}
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
You can’t perform that action at this time.