<commit_before># personalized-job-matcher-server

## Requirements

* Python 3
* Docker
  * postgres image
    * `docker pull postgres`

## To make and start the database

`python make.py`

## To create the database tables

`python create.py`

## To drop the database tables

`python drop.py`

## To empty data from the database tables

`python truncate.py`

## To start the database

`python start.py`

## To stop the database

`python stop.py`

## To remove the database

`python rm.py`

Remove the database volume mounted at `server/db/`

## To see database contents

`python select_.py`

## To run the server

`export FLASK_APP=run.py`
`flask run`

## When first deploying to Heroku

`heroku config:set HEROKU=true`<commit_msg>Update server README.md<commit_after># personalized-job-matcher-server

## Requirements

* Python 3
* Docker
  * postgres image
    * `docker pull postgres`

## To make and start the database

`python make.py`

## To create the database tables

`python create.py`

## To drop the database tables

`python drop.py`

## To empty data from the database tables

`python truncate.py`

## To start the database

`python start.py`

## To stop the database

`python stop.py`

## To remove the database

`python rm.py`

Remove the database volume mounted at `server/db/`

## To see database contents

`python select_.py`

## To run the server

`export FLASK_APP=run.py`

`flask run`

## When first deploying to Heroku

`heroku config:set HEROKU=true`
{'fraction_non_alphanumeric': 0.09993201903467029, 'fraction_numerical': 0.0013596193065941536, 'mean_word_length': 3.9562289562289563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6491505', 'n_tokens_mistral': 493, 'n_tokens_neox': 478, 'n_words': 179}