Last active
January 2, 2016 08:59
-
-
Save amirnissim/8280431 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| RD_DIR=~/projects/evme/rd | |
| alias rd='cd $RD_DIR' | |
| alias rdenv='rd && source rd-env/bin/activate' | |
| alias rdshell='rdenv && cd rd/rd_service && ipython -i $RD_DIR/shell.py' | |
| alias rdpostgres='postgres -D /usr/local/var/postgres' | |
| alias rdworker='rdenv && cd rd/rd_service && python cli.py worker' | |
| alias rdclearjobs='redis-cli del jobs' | |
| alias rdweb='cd $RD_DIR/rd && honcho start -f Procfile.dev' | |
| alias rdstop='killall postgres; killall redis-server; deactivate' | |
| alias rdstart='rdstop; | |
| ( | |
| rdenv && | |
| (rdpostgres & sleep 2) && | |
| (redis-server & sleep 2) && | |
| rdweb | |
| ); | |
| rdstop;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment