oapen-suggestion-service/oapen-engine
Max Zaremba 033fc1e56e
OAP 26 (#12)
We are disregarding the linting job failure as this is maybe an environment issue. Will be fixed in subsequent PRs.
2022-10-18 11:31:49 -04:00
..
bin Create mining engine boilerplate (#2) 2022-09-27 15:07:50 -04:00
src OAP 26 (#12) 2022-10-18 11:31:49 -04:00
.gitignore OAP-15, OAP-22: Data ingest + text preprocessing (#6) 2022-10-04 08:22:55 -04:00
Pipfile OAP-15, OAP-22: Data ingest + text preprocessing (#6) 2022-10-04 08:22:55 -04:00
Pipfile.lock OAP-15, OAP-22: Data ingest + text preprocessing (#6) 2022-10-04 08:22:55 -04:00
README.md OAP-14: DB connection and seeding (#8) 2022-10-11 14:08:35 -04:00
pipenv-proper-names.txt Create mining engine boilerplate (#2) 2022-09-27 15:07:50 -04:00
pyvenv.cfg OAP-22: Set up python build job in GH actions (#4) 2022-09-30 15:49:04 -04:00

README.md

OAPEN Suggestion Service

Getting Started

Database Configuration (Local)

Create a database.ini file in oapen-engine/src with the following:

[postgresql]
host=localhost
database=postgres
user=<username>
password=<your-password>

Environment setup

cd oapen-engine
make setup-env

Seeding the database

make clean_db
make seed_db

Running ngrams

make run

How to deactivate virtual environment

While the virtual environment is running, type:

deactivate