{ "info": { "author": "Sean Gillies", "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: Postgres.\n\nYou will also have to edit the following postgres conf file in order to allow access from your target machine(s)\n\n``/etc/postgresql/9.3/main/pg_hba.conf``", "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": "datasync", "package_url": "https://pypi.org/project/datasync/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/datasync/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/geert2705/django-datasync" }, "release_url": "https://pypi.org/project/datasync/0.0.1.dev0/", "requires_dist": null, "requires_python": null, "summary": "Sync environment", "version": "0.0.1.dev0" }, "last_serial": 2251198, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "c39571f35243bfec4cf995749b9d8573", "sha256": "b79a002a01db49f9e4256f10a7c126dc7acc48f778a36a9c067515d5f035b2df" }, "downloads": -1, "filename": "datasync-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "c39571f35243bfec4cf995749b9d8573", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3031, "upload_time": "2016-07-29T12:54:02", "url": "https://files.pythonhosted.org/packages/9a/e1/a273546e7d19e152d2a515478088dd3b3b772563b1828fc2fe5122fe2595/datasync-0.0.1.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c39571f35243bfec4cf995749b9d8573", "sha256": "b79a002a01db49f9e4256f10a7c126dc7acc48f778a36a9c067515d5f035b2df" }, "downloads": -1, "filename": "datasync-0.0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "c39571f35243bfec4cf995749b9d8573", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3031, "upload_time": "2016-07-29T12:54:02", "url": "https://files.pythonhosted.org/packages/9a/e1/a273546e7d19e152d2a515478088dd3b3b772563b1828fc2fe5122fe2595/datasync-0.0.1.dev0.tar.gz" } ] }