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 hashes)

Uploaded Source

Supported by

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