{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "# Frojd-Fabric-Cli\nThis is a Cli tool for Frojd-Fabric that will generate files and supply base settings.\n\n## Requirements\nTo install Frojd-Fabric you need Python 2.7, virtualenv and pip.\n\n## Installation\n\n### Stable\n- `pip install frojd_fabric_cli`\n\n### Unstable\n- `pip install git+git://github.com/Frojd/Frojd-Fabric-CLI.git@develop`\n\n### For development\n- `git clone git@github.com:Frojd/Frojd-Fabric.git`\n- `virtualenv venv`\n- `source venv/bin/activate`\n- `pip install --editable .`\n\n## Getting started\n\n### Walkthrough\n\n1. First go to your project folder.\n\n\t`cd myproject`\n\t\n2. Setup a virtual environment\n\t\n\t`virtualenv venv`\n\t\n3. Activate it\n\n\t`source venv/bin/activate`\n\t\n4. Now time to install\n\n\t`pip install frojd_fabric_cli`\n\t\n5. **(Optional)** Now is a good time to setup git, the cli will auto detect this if present\n\n\t`git init ...`\n\t\n6. Time to run the script. lets create a deploy environment that concist of two servers using a wordpress recipe.\n\n\t`frojd_fabric --stages=stage,prod --recipe=wordpress`\n\t\n\tThis command will create the following files.\n\t\n\t```\n\t/fabfile.py\n\t/stages/\n\t\t__init__.py\n\t\tstage.py\n\t\tprod.py\n\t```\n\t\n\tThis script will create the necessary files and add git repro setting (if present) and recipe import. Once generated, you'll need to add SSH settings and recipe unique settings by editing the files.\n\n\n\t\n### Command\n\n```\nfrojd_fabric\n --stages=local,stage,prod (Your deploy stages)\n --path=/tmp/ (Path to the project, optional)\n --recipe=wordpress (The recipe you will be use, optional)\n```\n\n\n## Roadmap\n\n### Implemented\n- Generate stage folder\n- __init__ in stage folder\n- Individual stage files\n- Cli interface\n- Repro url\n\n### Not yet implemented\n- Additional stage file config data\n- A way of auto generating fabricrc / stage config depending on recipe\n- Merged back into Frojd-Fabric\n\n\n## Developing\n- Coverage\n\t- `coverage run runtests.py`\n\t- `coverage report -m`\n\t- `coverage html`\n\t- `open htmlcov/index.html`\n\t- `coverage erase`\n- Test\n\t- `python runtests.py`\n\n## Code guide\n- Pep8\n- TDD\n\n## Contributing\nWant to contribute? Awesome. Just send a pull request.\n\n## Licence\nFrojd-Fabric-Cli is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "frojd_fabric_cli", "package_url": "https://pypi.org/project/frojd_fabric_cli/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/frojd_fabric_cli/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/frojd_fabric_cli/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "1.0.4" }, "last_serial": 1601641, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a8a4801217a5c71688888f873f21c4d4", "sha256": "6f47dd3be23da60deb87451aece50ee30773b01649409bb43baaa42da70214de" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a8a4801217a5c71688888f873f21c4d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2666, "upload_time": "2015-06-04T19:39:57", "url": "https://files.pythonhosted.org/packages/1b/32/5ebe376dd3f05f7c8ccdef1a819913ed74efe2bf84728d5798ae0546cc48/frojd_fabric_cli-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "953ba8a1b201ef3af299d74380beb644", "sha256": "6c43172fd5e40e345d36aad16bbd6a0219eadc48b3dba1775bd58917b94ff5ae" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "953ba8a1b201ef3af299d74380beb644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3882, "upload_time": "2015-06-04T19:45:50", "url": "https://files.pythonhosted.org/packages/98/62/d1f8dbcbd3693acd90cd8d0033ce8c4230d8393a45d1154ac4fd4088a2bb/frojd_fabric_cli-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "b581b7659488f97845fb26de80f526ca", "sha256": "aefc1f621fd93545a18bb6dbbf502c79c57969abaf665dd2f1479bbeb925d19f" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b581b7659488f97845fb26de80f526ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4402, "upload_time": "2015-06-04T19:49:42", "url": "https://files.pythonhosted.org/packages/00/ef/bcae5c25023305be969c452e6ee35adf076fbe163a30f385438e20a092a0/frojd_fabric_cli-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ddb465f0818def737d1f1a494819e8e9", "sha256": "b96e8d4473bd8ecb230266e038fed4d7d71714a02d950d26c60047257d53c218" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ddb465f0818def737d1f1a494819e8e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4406, "upload_time": "2015-06-04T19:54:38", "url": "https://files.pythonhosted.org/packages/8b/12/1e3441686c220544b45f9b531377256df515c5e35665a55ff5aeeb6c11e2/frojd_fabric_cli-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "3d48f16020f905694477c611ae93a208", "sha256": "81336f8aadd3bc1ab3505c07c6835eadb1adb2eb287fa7ee892afd0786eb60a2" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.4.tar.gz", "has_sig": false, "md5_digest": "3d48f16020f905694477c611ae93a208", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4534, "upload_time": "2015-06-22T09:47:16", "url": "https://files.pythonhosted.org/packages/fc/8c/8e8fee8d2d381069526e9d4ce8cf270e07b32a0725de6a74bf3640e711bf/frojd_fabric_cli-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d48f16020f905694477c611ae93a208", "sha256": "81336f8aadd3bc1ab3505c07c6835eadb1adb2eb287fa7ee892afd0786eb60a2" }, "downloads": -1, "filename": "frojd_fabric_cli-1.0.4.tar.gz", "has_sig": false, "md5_digest": "3d48f16020f905694477c611ae93a208", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4534, "upload_time": "2015-06-22T09:47:16", "url": "https://files.pythonhosted.org/packages/fc/8c/8e8fee8d2d381069526e9d4ce8cf270e07b32a0725de6a74bf3640e711bf/frojd_fabric_cli-1.0.4.tar.gz" } ] }