adapted cleanup script to new file locations and parameters.
This commit is contained in:
@@ -6,7 +6,6 @@ unset DJANGO_SETTINGS_MODULE
|
|||||||
for dir in *
|
for dir in *
|
||||||
do
|
do
|
||||||
if [ -d ${dir}/locale ]
|
if [ -d ${dir}/locale ]
|
||||||
echo "Übersetze $dir"
|
|
||||||
then
|
then
|
||||||
echo -n "$dir: "
|
echo -n "$dir: "
|
||||||
cd ${dir}
|
cd ${dir}
|
||||||
@@ -15,7 +14,7 @@ for dir in *
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
sleep 5s
|
sleep 5s
|
||||||
export DJANGO_SETTINGS_MODULE="kasu.settings.production"
|
export DJANGO_SETTINGS_MODULE="kasu.settings"
|
||||||
./manage.py compilemessages
|
./manage.py compilemessages
|
||||||
|
|
||||||
echo "lösche den Python Compiler Cache..."
|
echo "lösche den Python Compiler Cache..."
|
||||||
@@ -23,5 +22,5 @@ find . -name "*.pyc" -exec rm -rf {} \;
|
|||||||
echo "Aktualisiere Statics"
|
echo "Aktualisiere Statics"
|
||||||
./manage.py collectstatic --noinput -c
|
./manage.py collectstatic --noinput -c
|
||||||
echo "Erstelle Vorschaubilder"
|
echo "Erstelle Vorschaubilder"
|
||||||
./manage.py generateimages
|
./manage.py thumbnail_cleanup
|
||||||
touch kasu/wsgi.py
|
touch kasu/wsgi.py
|
||||||
|
|||||||
Reference in New Issue
Block a user