<commit_before># WatchPeopleCode
Helper app for /r/WatchPeopleCode subreddit

Currently available at: http://watchpeoplecode.com

To run, create .env file with these contents

```
SECRET_KEY=secret
DATABASE_URL=<your_url>
MAILGUN_API_URL=
MAILGUN_API_KEY=
MAILGUN_TEST_OPTION=true
MAILGUN_SMTP_LOGIN=
WPC_REDDIT_PASSWORD=
WPC_REDDIT_USERNAME=
WPC_YOUTUBE_KEY=
GA_TRACKING_CODE=
```

Then try `foreman run python app.py run`<commit_msg>some words about creating db<commit_after># WatchPeopleCode
Helper app for /r/WatchPeopleCode subreddit

Currently available at: http://watchpeoplecode.com

To run, create .env file with these contents

```
SECRET_KEY=secret
DATABASE_URL=<your_url>
MAILGUN_API_URL=
MAILGUN_API_KEY=
MAILGUN_TEST_OPTION=true
MAILGUN_SMTP_LOGIN=
WPC_REDDIT_PASSWORD=
WPC_REDDIT_USERNAME=
WPC_YOUTUBE_KEY=
GA_TRACKING_CODE=
```

Then try `foreman run python app.py run`


To create database with proper tables, you can import `db` from app.py and run `db.create_all()`. Then set `alembic_version` in your db to the last revision, so you can use migrations in the future.
{'fraction_non_alphanumeric': 0.07550644567219153, 'fraction_numerical': 0.0, 'mean_word_length': 6.764285714285714, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '6104908', 'n_tokens_mistral': 405, 'n_tokens_neox': 410, 'n_words': 108}