Modified settings.py to work with environment variables for Snap-CI