-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
34 lines (22 loc) · 1.36 KB
/
Copy pathbash_profile
File metadata and controls
34 lines (22 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Fitoop Directory Definition
export FITOOPDIR="/Users/mmurray/Documents/Tools/fitoop"
alias fit-git="git --git-dir="${FITOOPDIR}/.git" --work-tree='/fitoop'"
alias git-log="fit-git log -n 1"
alias runtest="cd ${FITOOPDIR} && bundle install && rake db:migrate && rake db:test:clone && rake"
alias local="runtest && foreman start"
alias git-commit-current="cd ${FITOOPDIR} && git add . && git commit && git push"
alias deploy="runtest && ( git-commit-current; git push heroku master && rake figaro:heroku && heroku run rake db:migrate && source ~/.bash_profile)"
alias dbreset="rake db:pgbackup db:reset db:pgrestore db:migrate && runtest"
alias dbhardreset="rake db:pgbackup db:drop db:create db:pgrestore db:migrate && runtest"
#alias s3mad='s3cmd -c ~/.s3cfg-mad'
### Traditional stuff
PORT=3000
PATH=/Applications/Postgres.app/Contents/MacOS/bin:${PATH}:/opt/local/bin
QUEUE='*'
##
# Your previous /Users/mmurray/.bash_profile file was backed up as /Users/mmurray/.bash_profile.macports-saved_2013-11-01_at_12:26:27
##
# MacPorts Installer addition on 2013-11-01_at_12:26:27: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*