Skip to content

Commit

Permalink
Add upjs command to easily update jSparc
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne de Laat committed Nov 27, 2015
1 parent ba4c1db commit ad4be53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provisioning/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ fi
# Activate env
alias envpub='source activate /srv/publicdb/publicdb_env'
alias cdpub='cd /srv/publicdb/www'
alias uppub='cdpub && envpub && git fetch && git reset --hard origin/master && cd django_publicdb && ./manage.py collectstatic --noinput && touch /tmp/uwsgi-reload.me'
alias uppub='envpub && cdpub && git fetch && git reset --hard origin/master && cd django_publicdb && ./manage.py collectstatic --noinput && touch /tmp/uwsgi-reload.me'
alias upjs='envpub && cdpub && cd ../jsparc && git fetch && git reset --hard origin/master'

# Prompt
[[ -n "$SSH_CLIENT" ]] && PS1='\[\e[1;30m\]$(date +%y%m%d\ %H:%M:%S) \[\e[1;32m\]\u@\h \[\e[1;34m\]\w\n$CONDA_DEFAULT_ENV\[\e[m\]> '
Expand Down

0 comments on commit ad4be53

Please sign in to comment.