Skip to main content

A re-usable Django app to quickly deploy a page for the ACME challenge

Project description

https://badge.fury.io/py/django-acme.svg https://travis-ci.org/browniebroke/django-acme.svg?branch=master https://codecov.io/gh/browniebroke/django-acme/branch/master/graph/badge.svg

A re-usable Django app to quickly deploy a page for the ACME challenge

Documentation

The full documentation is at https://django-acme.readthedocs.io.

Quickstart

Install Django ACME:

pip install django-acme

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'acme_challenge',
    ...
)

Define these 2 settings:

ACME_CHALLENGE_URL_SLUG = os.getenv('ACME_CHALLENGE_URL_SLUG')
ACME_CHALLENGE_TEMPLATE_CONTENT = os.getenv('ACME_CHALLENGE_TEMPLATE_CONTENT')

Add the Django ACME’s URL patterns:

from acme_challenge import urls as acme_challenge_urls


urlpatterns = [
    ...
    url(r'^', include(acme_challenge_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package:

History

0.1.0 (2016-11-16)

  • First release on PyPI.

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

django-acme-0.2.0.tar.gz (5.5 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