Update by natay on Thu Sep 13 09:59:23 EDT 2018 from Admins-MacBook-Air.local
@@ -60,11 +60,13 @@ verbose:
export DJANGO_LOG_LEVEL=DEBUG
-soft_delete:
+hard_delete:
# Used to load data without deleting old media and spoolers
rm -rf export/logs/*.log
+ rm -rf export/spooler/*spool*
rm -f export/database/engine.db
rm -rf export/static/CACHE
+ rm -rf export/media/*
rm -rf *.egg
rm -rf *.egg-info
@@ -73,16 +75,14 @@ delete:
# Ensure the files that could hold secrets exist.
# Remove the database and old media.
rm -rf export/logs/*.log
- rm -rf export/spooler/*spool*
rm -f export/database/engine.db
rm -rf export/static/CACHE
- rm -rf export/media/*
rm -rf *.egg
rm -rf *.egg-info
-hard_reset: delete init recipes
+hard_reset: hard_delete init recipes
-reset: soft_delete init recipes
+reset: delete init recipes
postgres:
#dropdb --if-exists testbuddy_engine
