"""
supervisorctl('restart', 'gunicorn')
+@task
+def flush_memcache():
+ """
+ Clear everything cached in memcached
+ """
+ virtenv_exec('echo "flush_all" | nc localhost 11211')
####### Update Requirements
@task
check_secrets()
install_reqs()
syncdb()
+ compress_static()
collect_static()
fetch_usde()
import_usde()
+ flush_memcache()
start_supervisord()
print "You should run `manage.py createsuperuser` in the virtual environment"
syncdb()
compress_static()
collect_static()
+ flush_memcache()
restart_supervisord()
########## END COMMANDS