diff --git a/README.md b/README.md index fa71f91..4a85101 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Otherwise, take a peek at the previous releases of the site, to see what Changelog: +- 1.1.2: Radio branch now has plots showing data from Azure storage - 1.1.1: Radio branch incorperating calls to the [Spotify API](developers.spotify.com) - 1.0.5: Code stored in database on server. Items served dynamically using Django. - 1.0.4: Notes stored in database on server. Page items are pulled dynamically using Django. diff --git a/load_env.py b/load_env.py new file mode 100644 index 0000000..ad212bd --- /dev/null +++ b/load_env.py @@ -0,0 +1,20 @@ +import json, os, sys + +VERBOSE = False +if len(sys.argv)>1: + print(sys.argv[1]) + VERBOSE = True + + +f = open('_environ.json') + +var = json.load(f) + +f.close() + + + +os.environ.update(**var) + +print('environment loaded:\n', var) if VERBOSE else None + diff --git a/phsite/__pycache__/__init__.cpython-37.pyc b/phsite/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000..f4cc9e6 Binary files /dev/null and b/phsite/__pycache__/__init__.cpython-37.pyc differ diff --git a/phsite/__pycache__/settings.cpython-37.pyc b/phsite/__pycache__/settings.cpython-37.pyc new file mode 100644 index 0000000..61524c3 Binary files /dev/null and b/phsite/__pycache__/settings.cpython-37.pyc differ