Skip to main content

Django Ember Index

Build Status Code Climate Coverage Status Requirements Status

A Django app to serve Ember index files deployed with ember-cli-deploy.

Installation

  1. Install application using $ pip install django-ember-index.

  2. Add ember_index to your INSTALLED_APPS setting like this:

INSTALLED_APPS = (
    ...
    'ember_index',
)

Usage

  1. Register Ember application(s) at urls.py with redis’s adapter:

from ember_index import index, RedisAdapter

adapter = RedisAdapter(host='localhost')

urlpatterns = [
    index(r'^other/', 'other-app', adapter),
    index(r'^', 'my-app', adapter),
]

The provided regex is used to set router’s rootURL by replacing pregenerated baseURL environment configuration at index file.

All adapter’s keyword arguments will be passed into the StrictRedis object on initialization.

  1. Access application(s) at:

  • / with current revision of my-app,

  • /r/ed54cda/ with specific revision of my-app,

  • /other/ with current revision of other-app,

  • /other/r/ed54cda/ with specific revision of other-app.

License

Django Ember Index is available under the MIT license. See the LICENSE file for more info.

Metadata

Release files for django-ember-index 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-ember-index 0.5.1
File Size Uploaded Provenance
django-ember-index-0.5.1.tar.gz 4.8 kB Without provenance Details

Release files / django-ember-index-0.5.1.tar.gz

Download URL django-ember-index-0.5.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5d6c77780b884433513e209da132eefadb67f61d29c9c82de63d3eb8a1e6479c
BLAKE2b-256 checksum
How to use checksums
f7a239eaa95274f29eaf16df6125eaa1ea917a5384eeca767aa16103363e9ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-ember-index 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page