-
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.
- Loading branch information
0 parents
commit f576a47
Showing
117 changed files
with
25,463 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.env* | ||
.env | ||
*.pptx | ||
*.ppt | ||
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.data | ||
.dump | ||
|
||
.venv* | ||
|
||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# === LLM === | ||
ANTHROPIC_API_KEY="" | ||
|
||
AZURE_OPENAI_KEY= | ||
AZURE_OPENAI_ENDPOINT= | ||
AZURE_OPENAI_API_VERSION="2024-02-15-preview" | ||
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME="gpt-35-turbo-16k" | ||
|
||
TOKENIZERS_PARALLELISM=false | ||
|
||
# === Frontend === | ||
REACT_APP_API_PORT=8080 | ||
API_PORT=8080 | ||
APP_PORT=3001 | ||
APP_URL='http://localhost:3001' | ||
BACKEND_HOST='http://localhost:8080' | ||
|
||
# === backend === | ||
DEV=true | ||
PATH_TO_DATA='./.data/db_deploy' | ||
API_JWT_KEY='your-secret-key' | ||
REACT_APP_API_URL='http://localhost:8080/api' | ||
|
||
# === postgres === | ||
POSTGRES_HOST=localhost | ||
POSTGRES_PORT=5432 | ||
POSTGRES_DB=ipa-scout | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=insecure | ||
|
||
# === alembic === | ||
# Set to true to run the alembic migrations on build | ||
RUN_MIGRATIONS=False | ||
|
||
# === Minio === | ||
MINIO_HOST=minio | ||
MINIO_PORT=9000 | ||
MINIO_ACCESS_KEY=minioadmin | ||
MINIO_SECRET_KEY=minioadmin | ||
BUCKET_NAME='default-bucket-3' | ||
|
||
# === Deployment === | ||
DOCKER_BUILDER_CONTAINER=ipa-scout | ||
APP_NAME=ipa-scout | ||
AWS_ACCOUNT_ID=REPLACE_ME | ||
AWS_REGION=eu-west-2 | ||
S3_URL='http://localhost:9000' | ||
ENVIRONMENT=local | ||
|
||
|
||
# Libreoffice Service | ||
LIBREOFFICE_SERVICE_URL=http://localhost:5000 | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Context | ||
|
||
## This PR contains: | ||
- [ ] New features | ||
- [ ] Changes to dev-tools e.g. CI config / github tooling | ||
- [ ] Bug fixes | ||
- [ ] Code refactor | ||
|
||
## Guidance to review | ||
How could someone else check this work? Which parts do you want more feedback on? |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Put action within a raw block so that the curly bracket expressions aren't picked up by the cookiecutter | ||
# | ||
name: Checks | ||
|
||
env: | ||
DOCKER_BUILDKIT: 1 | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
static_checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: 1.8.0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
poetry install --no-root --no-ansi --only dev | ||
- name: Format code | ||
run: | | ||
poetry run ruff format . --check | ||
poetry run ruff check . | ||
run_tests: | ||
name: Run tests | ||
|
||
runs-on: ubuntu-latest | ||
environment: release | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: 1.7.0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
poetry install --no-root --no-ansi --only dev | ||
- name: Copy env file | ||
run: | | ||
cp .env.example .env |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Put action within a raw block so that the curly bracket expressions aren't picked up by the cookiecutter | ||
# | ||
|
||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/action@v3.0.1 |
Oops, something went wrong.