A Django app to serve Ember index files.
Project description
A Django app to serve Ember index files deployed with ember-cli-deploy.
Installation
Install application using $ pip install django-ember-index.
Add ember_index to your INSTALLED_APPS setting like this:
python INSTALLED_APPS = ( ... 'ember_index', )
Usage
Register Ember application at urls.py with redis’s adapter:
```python from ember_index.adapters import RedisAdapter from ember_index.conf.urls import index
urlpatterns = [ index(r’^‘, ’my-app’, RedisAdapter(host=‘localhost’)), ] ```
All keyword arguments will be passed into the `StrictRedis`_ object on initialization.
Access application at:
/ with current revision,
/r/ed54cda with specific revision.
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.