Installation

Warning

This page has been automatically generated as has not yet been reviewed by the authors of thredds-control-center!

To install the thredds-control-center package for your Django project, you need to follow two steps:

  1. Install the package

  2. Add the app to your Django project

Installation from PyPi

The recommended way to install this package is via pip and PyPi via:

pip install thredds-control-center

or, if you are using pipenv, via:

pipenv install thredds-control-center

Or install it directly from the source code repository on Gitlab via:

pip install git+https://codebase.helmholtz.cloud/hcdc/thredds/thredds-control-center.git

The latter should however only be done if you want to access the development versions (see Installation for development).

Install the Django App for your project

To use the thredds-control-center package in your Django project, you need to add the app to your INSTALLED_APPS, configure your urls.py, run the migration, add a login button in your templates. Here are the step-by-step instructions:

  1. Add the tds_control app to your INSTALLED_APPS

  2. in your projects urlconf (see ), add include tds_control.urls via::

     from django.urls import include, path
    
     urlpatterns += [
         path("thredds-control-center/", include("tds_control.urls")),
     ]
    
  3. Run python manage.py migrate to add models to your database

  4. Configure the app to your needs (see Configuration options) (you can also have a look into the testproject folder in the source code repository for a possible configuration).

If you need a deployment-ready django setup for an app like this, please have a look at the following template: https://codebase.helmholtz.cloud/hcdc/software-templates/django-docker-template

That’s it!

Installation for development

Please head over to our contributing guide <contributing>{.interpreted-text role=”ref”} for installation instruction for development.