<commit_before>ddsc-opendap
==========================================

Introduction

Usage, etc.

<commit_msg>Added development instructions to README.<commit_after>ddsc-opendap
==========================================



Development
===========

ddsc-opendap uses a lot of Django stuff, but it is not a Django site. It may
appear easier to have made this a Django site, but it is not. Trust me. The
good news is that the ddsc-opendap server is runnable by gunicorn. For dev
machines this is the one-liner you need:

DJANGO_SETTINGS_MODULE=ddsc_api.developmentsettings \
    bin/gunicorn -b 127.0.0.1:8002 --workers 1 ddsc_opendap.handlers


{'fraction_non_alphanumeric': 0.19875776397515527, 'fraction_numerical': 0.017080745341614908, 'mean_word_length': 4.972222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1002127', 'n_tokens_mistral': 215, 'n_tokens_neox': 188, 'n_words': 69}