TODO ergänzt mit meldungen von coala.io

scripte nach bin/ verschoben
This commit is contained in:
2017-09-08 07:51:07 +02:00
parent b3ab9798b5
commit 42a6ebedf9
12 changed files with 3467 additions and 262 deletions

27
bin/cleanup.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
source .virtualenv/bin/activate
echo "aktualisiere Übersetzungen..."
cd src
unset DJANGO_SETTINGS_MODULE
for dir in *
do
if [ -d ${dir}/locale ]
echo "Übersetze $dir"
then
echo -n "$dir: "
cd ${dir}
django-admin.py makemessages -l de
cd ..
fi
done
sleep 5s
export DJANGO_SETTINGS_MODULE="kasu.settings.production"
./manage.py compilemessages
echo "lösche den Python Compiler Cache..."
find . -name "*.pyc" -exec rm -rf {} \;
echo "Aktualisiere Statics"
./manage.py collectstatic --noinput -c
echo "Erstelle Vorschaubilder"
./manage.py generateimages
touch kasu/wsgi.py