{ "info": { "author": "Shayne O'Neill", "author_email": "shayne.oneill@dpaw.wa.gov.au", "bugtrack_url": null, "classifiers": [], "description": "===========\r\nMaterialize\r\n===========\r\n\r\nMaterialize is a simple toolkit for replacing env files with etcd configurations. \r\n\r\nStep #1: Manually (or via a docker environment setting from the docker command line DO NOT BAKE IN!)\r\n\r\n\texport etchost={host of etcd server}\r\n\texport etccluster{dev/prod/uat}\r\n\r\nStep #2: Edit the .env file so anything that has to go into shared config (between apps on a cluster) has #common after it. Then type the following;-\r\n\r\n\t./materialize dematerialize {cluster} {appname}\r\n\r\nWith the .env file now scanned into etcd the app is ready to go.\r\n\r\nTwo options\r\n\r\n1) Reconstruct .env from the command line in the container. The cluster is gleaned from the environment variable.\r\n\r\n\t./materialize magic {appname} \r\n\r\n2) Insert the following into manage.py in the django.\r\n\r\n\timport materializer\r\n\tmaterializer.magic_rematerializer()\r\n\r\nAnd let the magic take hold.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/dpaw/materialize/overview", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "materialize", "package_url": "https://pypi.org/project/materialize/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/materialize/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/dpaw/materialize/overview" }, "release_url": "https://pypi.org/project/materialize/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Replace env files with etcd configurations.", "version": "0.1.1" }, "last_serial": 1142858, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "082500afb370657c6f86f05d849b0c25", "sha256": "1fec19c31a6c8c4a619a05b93c2ab5be982cdf0c8fb2b6c4a8f7e332d0808ec9" }, "downloads": -1, "filename": "materialize-0.1.0.tar.gz", "has_sig": false, "md5_digest": "082500afb370657c6f86f05d849b0c25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1564, "upload_time": "2014-07-01T06:12:25", "url": "https://files.pythonhosted.org/packages/9c/df/ed642627c54d4c6860ef57cfe7ea66fc0f4bb958eb1a07567af28e8650d9/materialize-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fd37cb3bbe94eb778b909d68e566f71c", "sha256": "e879494e4143f47202f27f65190a4a46bea0a8ee5ba5bfc03ba3d283d5ae86f3" }, "downloads": -1, "filename": "materialize-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fd37cb3bbe94eb778b909d68e566f71c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2056, "upload_time": "2014-07-01T06:28:12", "url": "https://files.pythonhosted.org/packages/57/fd/5d7816ae4dca29e9b06e8ac3da812a7ef44def3bc0c0b1394d9025006dae/materialize-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd37cb3bbe94eb778b909d68e566f71c", "sha256": "e879494e4143f47202f27f65190a4a46bea0a8ee5ba5bfc03ba3d283d5ae86f3" }, "downloads": -1, "filename": "materialize-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fd37cb3bbe94eb778b909d68e566f71c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2056, "upload_time": "2014-07-01T06:28:12", "url": "https://files.pythonhosted.org/packages/57/fd/5d7816ae4dca29e9b06e8ac3da812a7ef44def3bc0c0b1394d9025006dae/materialize-0.1.1.tar.gz" } ] }