<gh_stars>10-100
"""
********************************************************************************
* Name: apps.py
* Author: <NAME>
* Created On: 2014
* Copyright:
* License: BSD 2-Clause
********************************************************************************
"""
from django.apps import AppConfig

from tethys_apps.harvester import SingletonHarvester


class TethysAppsConfig(AppConfig):
    name = 'tethys_apps'
    verbose_name = 'Tethys Apps'

    def ready(self):
        """
        Startup method for Tethys Apps django app.
        """
        # Perform App Harvesting
        harvester = SingletonHarvester()
        harvester.harvest()
