Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment