Skip to main content

A Django app to serve Ember index files.

Project description

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.adapters import RedisAdapter
from ember_index.conf.urls import index

adapter = RedisAdapter(host='localhost')

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

All 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

License

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

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-ember-index-0.2.0.tar.gz (3.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