Änderungen am layout wie die config Dateien abgelegt werden, um passwörter leichter aus dem öffentlichen GIT repository verschwinden zu lassen
This commit is contained in:
4
sync.sh
4
sync.sh
@@ -5,7 +5,6 @@ SYNC_ASSESTS="requirements templates"
|
||||
SYNC_SOURCECODE="src"
|
||||
EXCLUDE_FILES="*.pyc"
|
||||
|
||||
# ./cleanup.sh
|
||||
grunt
|
||||
|
||||
echo "Syncing project assets ..."
|
||||
@@ -16,8 +15,7 @@ ssh $SSH_LOGIN "virtualenv/bin/pip install --upgrade -r requirements/base.txt"
|
||||
|
||||
echo "Syncing Sourcecode ..."
|
||||
find . -name "*.pyc" -exec rm -rf {} \;
|
||||
rsync -r --copy-links --delete $SYNC_SOURCECODE $SSH_LOGIN:~/
|
||||
|
||||
rsync -r --copy-links --delete $SYNC_SOURCECODE $SSH_LOGIN:~/ --exclude 'src/kasu/local_settings.py'
|
||||
|
||||
echo "Rebuild and reload django..."
|
||||
ssh $SSH_LOGIN "rm src/kasu/settings/development.*"
|
||||
|
||||
Reference in New Issue
Block a user