Commit Graph

11 Commits (peterrauscher/oap-66)

Author SHA1 Message Date
Celina Peralta 3622261f98
Fix self-signed cert error (#64)
* add certificate to droplet, update readme

* update test container job to add crt
2023-04-20 13:54:59 -04:00
Peter Rauscher 40cac8ba55
DB SSL, API format changes, new endpoints, and unit testing with Actions
* Run unit tests with Github Actions on each push

* Change job timeout to 10 minutes

* Fix for sslmode in API connection string

* Select lists of suggestions or ngrams with /api or /api/ngrams respectively, JSONify ngrams response

* Added better documentation of API endpoints

* Switch from connection string to connection object in API
2023-04-18 19:48:09 -04:00
Eric Hellman 684beb0cc2
WIP Documentation (#55)
* fix permissions

* add links to sub-READMEs

* Update .gitignore

* add DO setup info

* Dont clean automatically and move .env to .env.template to avoid overwriting on pulls

* Copy .env.template to .env to satisfy testing reqs

* add log info

* Move deployment instructions to README and improve documentation overall

---------

Co-authored-by: Peter Rauscher <peterrauscher@protonmail.com>
2023-04-15 05:24:48 +00:00
Justin O'Boyle 376545450d
Basic testing (#45)
* finished changes to stopwords and langauges

* final changes to stopwords

* basic testing

* add tests

* Remove formatter for now

* fix merge

* cd

* touch __init__

* Relative path issue \?

* run tests before app

* Move tests to inside docker

* exit when any command fails

---------

Co-authored-by: Max Zaremba <max.zaremba@gmail.com>
2023-03-22 14:52:38 -04:00
Justin O'Boyle 535715932d
Setup docker (#26)
* basic config

* Add github action

* Fix makefile for linux and variable python (#27)

* fix makefile

* remove out

* add to gitignore

* Fix makefile for linux and variable python (#27)

* fix makefile

* remove out

* add to gitignore

* Fix dockerfile

* stash changes

* Make makefile dynamic (#28)

* Remove broken docker packages for now

* Add web

* Make Black Formatter happy?

Co-authored-by: Max Zaremba <max.zaremba@gmail.com>
2022-12-13 07:46:08 -05:00
Celina Peralta 1aa611231b
OAP-36, OAP-39: No get_text() in OapenItem, register adapters for DB objects in Python (#20)
* No get text

* remove pytest

* add OAP-39 work.
2022-11-09 19:36:20 -05:00
Celina Peralta 4333d4fcc3
[Draft] OAP-32 Ngram Caching (#18)
* start caching ngrams

* fix build warnings

* add timestamp

* resolve comments

* pull out mogrify

* remove pytest from hook for now
2022-11-02 23:07:56 -04:00
Celina Peralta 1520f08b05
Fix pre-commit hook + linting jobs for OAPEN engine (#14)
* sync upstream

* isort, black, flake8 precommit hook

* Ignore bin

* reset bin

* reset bin

* try to fix black

* remove bin!

* update gh action
2022-10-23 19:51:47 -04:00
Celina Peralta 0f247eac8c
OAP-15, OAP-22: Data ingest + text preprocessing (#6)
* sync upstream

* db skeleton

* update readme

* basic api calls

* api calls

* data ingest + text preprocessing

* update gitignore

* remove lib changes

* lint

* remove unused imports

* gitignore updates

* update python job

* ignore flake8 warnings
2022-10-04 08:22:55 -04:00
Celina Peralta e005787bbe
OAP-22: Set up python build job in GH actions (#4)
* sync upstream

* Add linting and testing, update to python 3.10

* push engine workflow

* fix workflow version

* fix workflow version 2

* change setup-python to v3

* workflow: cd oapen-engine

* workflow

* workflow

* workflow

* add lock file

* remove unnecessary cd

* remove unnecessary cd

* remove isort

* update workflow

* job

* job

* job

* job

* job

* job

* isort why

* isort why

* isort why

* isort why

* isort why

* isort why

* isort why

* job

* job

* job

* job

* job

* job

* job

* job

* job

* job

* job

* lint

* job

* hooks

* remove lib
2022-09-30 15:49:04 -04:00
Justin O'Boyle 06cdc65ff8
[Sprint] Create web-app infrastructure (#1)
* first commit

* Add boilerplate

* Add boilerplate components

* Add test

* fix typo

* fix cd
2022-09-27 14:21:15 -04:00