From ad4be53d12a61ca10f7006b63bfdfe24d5e66ee8 Mon Sep 17 00:00:00 2001 From: Arne de Laat Date: Fri, 27 Nov 2015 16:26:48 +0100 Subject: [PATCH] Add upjs command to easily update jSparc --- provisioning/bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/provisioning/bashrc b/provisioning/bashrc index fe077676d..f4b4d7480 100644 --- a/provisioning/bashrc +++ b/provisioning/bashrc @@ -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\]> '