Updated for deployment.

Added .wsgi into gitignore file
Run the file with an if