Getting Started

Installation

Once the dependencies are installed, you can install ncdjango with:

$ pip install ncdjango

Setup

  1. Create a new Django project if you don’t already have one.
  2. Add ncdjango, tastypie, and rest_framework to your INSTALLED_APPS setting.
  3. Modify your settings.py to specify the root location of your datasets:
NC_SERVICE_DATA_ROOT = '/var/ncdjango/services/'
  1. Modify your settings.py to specify the location to store temporary files (uploads):
NC_TEMPORARY_FILE_LOCATION = '/tmp'
  1. See Settings for additional options.
  2. Add the following to your project’s urlpatterns:
url(r'^', include('ncdjango.urls'))

Note

You can modify this URL pattern if you want all the ncdjango and web interface URLs grouped under a common path.

Publishing Services

Todo