Skip to content

Commit

Permalink
fix(workers): add installation command, update pyproject
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Dec 30, 2024
1 parent 98e9426 commit 2f131eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"start:dev:nowatch": "tsx src/server.ts | pino-pretty --singleLine",
"start:dev:workers": "concurrently npm:start:dev:workers:*",
"start:dev:workers:node": "tsx watch workers/node/main.ts | pino-pretty --singleLine",
"start:dev:workers:python": "bash -c 'cd workers/python && poetry run python python/main.py'",
"start:dev:workers:python": "bash -c 'cd workers/python && PORT=7777 poetry run python python/main.py'",
"install:workers:python": "bash -c 'cd workers/python && poetry install --no-root --all-extras --with docling --with unstructured'",
"test:e2e": "vitest run tests/e2e",
"test:e2e:watch": "vitest watch tests/e2e",
"mikro-orm": "NODE_OPTIONS='--import tsx' mikro-orm --config ./src/mikro-orm.config.ts",
Expand Down
6 changes: 5 additions & 1 deletion workers/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[tool.poetry]
package-mode = false
name = "python-worker"
version = "0.0.1"
description = "Bee API Python Worker for file extraction."
authors = ["IBM Corp."]
license = "Apache-2.0"

[tool.poetry.dependencies]
python = "~3.11"
Expand Down

0 comments on commit 2f131eb

Please sign in to comment.