{ "info": { "author": "Geert Dekkers", "author_email": "geert@djangowebstudio.com", "bugtrack_url": null, "classifiers": [], "description": "datasync\n========\n\nManagement command to sync environment data.\n\nSyncs database and media, for example when deploying an acceptance environment.\n\nQuick Start\n-----------\n\n* pip install django-datasync\n\n* add 'datasync' to INSTALLED APPS\n\n* configure settings \n\n::\n\n DATASYNC = {\n 'HOST': '{{ remote_host_address }}',\n 'PORT': {{ remote_ssh_port }}\n 'USER': '{{ remote_username }}',\n 'PASSWORD': '{{ remote_user_password }}',\n 'MEDIA_REMOTE': '{{ remote_media_directory }}',\n 'MEDIA_TARGET': '{{ local_media_directory }}',\n 'DATABASE': {\n 'HOST': '{{ db_host_address }}',\n 'USER': '{{ db_username }}',\n 'PASSWORD': '{{ db_password }}',\n 'NAME': '{{ db_name }}',\n 'PORT': {{ db_port }}\n },\n }\n\n\nYou will now have access to the management command 'sync_environment'. Run that command from the target machine, perhaps as a cron job. Or add to ansible-playbooks setup.\n\nSupported databases: PostgreSQL.\n\nYou will also have to edit the following postgres conf files in order to allow access from your target machine(s)\n\n``/etc/postgresql/[version]/main/pg_hba.conf``\n\n``/etc/postgresql/[version]/main/postgres.conf``\n\nMore information to be found in the PostgreSQL documentation.", "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/geert2705/django-datasync", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-datasync", "package_url": "https://pypi.org/project/django-datasync/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-datasync/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/geert2705/django-datasync" }, "release_url": "https://pypi.org/project/django-datasync/0.0.2.dev0/", "requires_dist": null, "requires_python": null, "summary": "Sync environment", "version": "0.0.2.dev0" }, "last_serial": 2253563, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "96d8171e6188de65a331f496350ef6f1", "sha256": "1b36a9261ae67be07806a9da8cc685ebdb5323647e300bd47f3dded17fbf9b30" }, "downloads": -1, "filename": "django-datasync-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "96d8171e6188de65a331f496350ef6f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3061, "upload_time": "2016-07-29T13:06:27", "url": "https://files.pythonhosted.org/packages/64/bc/08d878928e50572f269b4f843a35910c7e4779343d404e6da24276272216/django-datasync-0.0.1.dev0.tar.gz" } ], "0.0.2.dev0": [ { "comment_text": "", "digests": { "md5": "b1afd375dc9a8fa0cee90c5473a1291c", "sha256": "dcbe8e0e5381180846d01fc98057303aea33826afcfa74f1f01dd2906a9d6a4e" }, "downloads": -1, "filename": "django-datasync-0.0.2.dev0.tar.gz", "has_sig": false, "md5_digest": "b1afd375dc9a8fa0cee90c5473a1291c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2016-07-31T09:57:34", "url": "https://files.pythonhosted.org/packages/db/37/31580de19c5696cf4b1a43fbd84f5348975168f4c8b030812b6c8cf7b6af/django-datasync-0.0.2.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1afd375dc9a8fa0cee90c5473a1291c", "sha256": "dcbe8e0e5381180846d01fc98057303aea33826afcfa74f1f01dd2906a9d6a4e" }, "downloads": -1, "filename": "django-datasync-0.0.2.dev0.tar.gz", "has_sig": false, "md5_digest": "b1afd375dc9a8fa0cee90c5473a1291c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2016-07-31T09:57:34", "url": "https://files.pythonhosted.org/packages/db/37/31580de19c5696cf4b1a43fbd84f5348975168f4c8b030812b6c8cf7b6af/django-datasync-0.0.2.dev0.tar.gz" } ] }