Fix for openstack dashboard

compress command is required for generating the templates
and to be able to display the login screen with css
Fix for Ubuntu during syncdb.

secret_key requires to be owned by www-data,
otherwise syncdb is giving error.