1520f08b05
* sync upstream * isort, black, flake8 precommit hook * Ignore bin * reset bin * reset bin * try to fix black * remove bin! * update gh action |
||
---|---|---|
.. | ||
bin | ||
src | ||
.gitignore | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
pipenv-proper-names.txt | ||
pyvenv.cfg |
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