<commit_before>seednetwork
===========
The distributed seed library for the Hilltown Seed Saving Network

This is a Django site. To make it easier to deploy without changing settings.py, use the following environment variables

```shell
SEEDNETWORK_SECRETKEY
SEEDNETWORK_EMAIL_HOST
SEEDNETWORK_EMAIL_PORT
SEEDNETWORK_EMAIL_HOST_USER
SEEDNETWORK_EMAIL_HOST_PASSWORD
SEEDNETWORK_DEFAULT_FROM_EMAIL
```

This site uses dj_database_url for DB configuration, so set DATABASE_URL using its syntax. A sample mysql URL is

```shell
export DATABASE_URL='mysql://user:pwd@host:port/database'
```

Heroku Deploy Instructions
--------------------------
Follow the normal Heroku Django procedure

https://devcenter.heroku.com/articles/django

Set the environment, for example:

```shell
heroku config:set DATABASE_URL='mysql://user:pwd@host:port/database'
heroku config:set SEEDNETWORK_SECRETKEY='xxxxxxxxxxxxxxxxxxxxxxxxx'
heroku config:set SEEDNETWORK_EMAIL_HOST='smtp.example.com'
```

The collectstatic for this app needs the environment, so you need to install user-env-compile

```shell
heroku labs:enable user-env-compile -a seednetwork
```

About the Hilltown Seed Saving Network 
--------------------------------------
The Hilltown Seed Saving Network of western Massachusetts is a loosely organized group working to educate ourselves and our neighbors about seed saving and currently creating a virtual local seed bank, sharing information about what seeds we have in our own collections and how best to grow them. We are from Cummington, Chesterfield, Plainfield, Worthington, Windsor, Goshen, Ashfield and surrounding towns in the region and meet monthly in Cummington. All are welcome!<commit_msg>sendgrid instructions<commit_after>seednetwork
===========
The distributed seed library for the Hilltown Seed Saving Network

This is a Django site. To make it easier to deploy without changing settings.py, use the following environment variables

```shell
SEEDNETWORK_SECRETKEY
SEEDNETWORK_EMAIL_HOST
SEEDNETWORK_EMAIL_PORT
SEEDNETWORK_EMAIL_HOST_USER
SEEDNETWORK_EMAIL_HOST_PASSWORD
SEEDNETWORK_DEFAULT_FROM_EMAIL
```

This site uses dj_database_url for DB configuration, so set DATABASE_URL using its syntax. A sample mysql URL is

```shell
export DATABASE_URL='mysql://user:pwd@host:port/database'
```

Heroku Deploy Instructions
--------------------------
Follow the normal Heroku Django procedure

https://devcenter.heroku.com/articles/django

Set the environment, for example:

```shell
heroku config:set DATABASE_URL='mysql://user:pwd@host:port/database'
heroku config:set SEEDNETWORK_SECRETKEY='xxxxxxxxxxxxxxxxxxxxxxxxx'
heroku config:set SEEDNETWORK_EMAIL_HOST='smtp.example.com'
```

The collectstatic for this app needs the environment, so you need to install user-env-compile

```shell
heroku labs:enable user-env-compile -a seednetwork
```
You need SMTP for the forgot password feature. Sendgrid has a free plan
```shell
heroku addons:add sendgrid:starter
```

About the Hilltown Seed Saving Network 
--------------------------------------
The Hilltown Seed Saving Network of western Massachusetts is a loosely organized group working to educate ourselves and our neighbors about seed saving and currently creating a virtual local seed bank, sharing information about what seeds we have in our own collections and how best to grow them. We are from Cummington, Chesterfield, Plainfield, Worthington, Windsor, Goshen, Ashfield and surrounding towns in the region and meet monthly in Cummington. All are welcome!
{'fraction_non_alphanumeric': 0.09568427030096537, 'fraction_numerical': 0.0, 'mean_word_length': 4.921008403361345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5461907', 'n_tokens_mistral': 1011, 'n_tokens_neox': 933, 'n_words': 379}