-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: Add pytest-postgresql as dev dep * feat: Include sa engine opts in app config * tests: WIP add test db / fixtures * build: Add sqlalchemy-utils to dev deps * tests: Update test db config/setup * feat: Clean up db config/setup in tests * docs: Tweak setup instructions * docs: Update dev setup + app mgmt instructions * fix: Try using custom db host in ci
- Loading branch information
Showing
9 changed files
with
129 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# `colandr` | ||
|
||
Back-end code for [colandr](https://www.colandrapp.com), an ML-assisted online application for conducting systematic reviews and syntheses of text-based evidence. | ||
|
||
## local dev setup | ||
|
||
Minimal setup instructions, from the beginning, for devs who don't need checks or explanations: | ||
|
||
1. Install Xcode: `xcode-select --install` | ||
1. Install Homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` | ||
1. Install Docker and git: `brew cask install docker && brew install git` | ||
1. Clone copy of colandr repo: `git clone https://github.com/datakind/permanent-colandr-back.git` | ||
1. Build and spin up application services: `cd permanent-colandr-back && docker compose up --build --detach` | ||
|
||
For more details, see the instructions [here](docs/dev-setup.md). | ||
|
||
## app management | ||
|
||
(todo: basics here) | ||
|
||
For more details, see the instructions [here](docs/app-management.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
httpx~=0.27.0 | ||
mypy~=1.0 | ||
pytest~=8.0 | ||
pytest-postgresql~=6.0 | ||
SQLAlchemy-Utils~=0.41.0 | ||
ruff~=0.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters