Add templates directory, don't daemonize uWSGI, fix deploy permissions issue