Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aind-slims-service-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Requires docker to build and run package locally.

- Create a file called env/webapp.env with appropriate env variables.
- Run `docker build -t aind-slims-service-server-local:latest .`
- Run `docker run -p 58350:58350 -p 5000:80 --env-file=env/webapp.env aind-slims-service-server-local:latest`
- Run `docker run -p 5000:80 --env-file=env/webapp.env aind-slims-service-server-local:latest`
- Service will be available at `http://localhost:5000`
- Check docs at `http://localhost:5000/docs`

Expand Down
5 changes: 2 additions & 3 deletions aind-slims-service-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ dynamic = ["version"]

dependencies = [
'pydantic>=2.0',
'pydantic-settings>=2.0',
'aind-settings-utils>=0.1.0',
'fastapi[standard]>=0.114.0',
'slims-python-api',
'networkx',
'aind-settings-utils>=0.0.3',
'networkx'
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
"""Module for settings to connect to SLIMS backend"""

from aind_settings_utils.aws import (
ParameterStoreAppBaseSettings,
)
from aind_settings_utils.aws import SecretsManagerBaseSettings
from pydantic import Field, SecretStr
from pydantic_settings import SettingsConfigDict


class Settings(ParameterStoreAppBaseSettings):
class Settings(SecretsManagerBaseSettings):
"""Settings for connecting to SLIMS Database."""

username: str = Field(..., description="User name")
Expand Down