Skip to main content

A simple to use deployment toolkit built on top of Fabric

Project description

Build Status PyPI version

Fabrik

Fabrik

Fabrik

A deployment toolkit built on top of Fabric.

The purpose of this library is to provide a stable python based deploy tool that covers a wide range a use cases, Those cases include Wordpress, Node.js and Django. We favor composition and customization by code before configuration.

Supports

  • Git

  • Rollbacks

  • A full Django deploy script with migrations

  • Virtualenv creation and activation

  • NPM management

  • Nginx

  • Uwsgi

  • Forever

  • Envfile handling

  • Celeryd

  • Wordpress

  • Composer

Requirements

To install Fabrik you need Python 2.7, virtualenv and pip.

Installation

Fabrik can be installed through pip.

Stable

pip install fabrik

Develop

pip install git+git://github.com/Frojd/Fabrik.git@develop

Examples

This project ships with examples for Django and Wordpress (just check examples/*)

Tests

Tests can be run with python runtests.py, this will run the entire suite. Just make sure you run pip install -r requirements/tests.txt first.

It also possible to run a specific case: python runtests.py tests.test_api.TestApi

… or a specific unittest: test_deploy_rollback python runtests.py tests.test_api.TestApi.test_deploy_rollback

Writing tests

All tests should reside in the tests directory and prefixed test_*, to include a test in the main suite add the test path in runtests.py.

Documentation

The documentation can be found here.

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Fabrik is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabrik-3.0.1.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file fabrik-3.0.1.tar.gz.

File metadata

  • Download URL: fabrik-3.0.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fabrik-3.0.1.tar.gz
Algorithm Hash digest
SHA256 2b3d4103ff9a1b66e70a6bd050eda7b3e537ca0854b4cf419b8a10a96e4d12ed
MD5 6f322e6767a2b245cfb70c0805096e75
BLAKE2b-256 ea36c693dc8583a5f25f669dd34bdba4a3ece28a4361eee9f30cfea5fc4381a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page