Skip to main content

Scripts to help provision, configure and deply towebfaction using Python and Fabric 2

Project description

Scripts to assist in deploying and maintain web sites on Webfaction servers.

Based on [Fabric 2.0](http://www.fabfile.org/) and Webfaction’s [xmlrpc API](https://docs.webfaction.com/xmlrpc-api/) version 2.

Account and server level tasks

Generating Letsencrypt SSL certificates with [acme.sh](https://github.com/Neilpang/acme.sh) using [dns manual mode](https://github.com/Neilpang/acme.sh/wiki/dns-manual-mode)

  1. install_acme

    • Installs acme.sh in a Webfaction account

  2. uninstall_acme

    • Installs acme.sh from a Webfaction account. Certificates are left.

  3. secure_domains

    • Validates domains with DNS manual mode,

    • generates a certificate under the primary domain for all the domains and

    • installs it.

  4. check websites

    • Attempts to load all the accounts configured websites and

    • reports their HTTP response codes

Website level tasks

  1. django_update

  2. check_secure_versions

  3. provision

  4. teardown

  5. deploy

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

webfaction_fab2-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file webfaction_fab2-0.0.2.tar.gz.

File metadata

  • Download URL: webfaction_fab2-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for webfaction_fab2-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a4df9e97023d220aff87d8b76e38d477c83aa0eb650b1513cb7b78f0dad708c6
MD5 623c5d923da3fe01ceb8903ac24f0688
BLAKE2b-256 b154bf73ffe960c5a2df127404d289f8802de504b76e53b9722ab175a18d5519

See more details on using hashes here.

Supported by

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