Drew Bednar
545ae30df9
continuous-integration/drone/push Build is passing
Details
|
1 year ago | |
---|---|---|
.environments | 1 year ago | |
charts | 1 year ago | |
scripts | 1 year ago | |
speech_collect | 1 year ago | |
tests | 1 year ago | |
.coveragerc | 1 year ago | |
.dockerignore | 1 year ago | |
.drone.yml | 1 year ago | |
.gitignore | 1 year ago | |
.pre-commit-config.yaml | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
Tiltfile | 1 year ago | |
dev-requirements.in | 1 year ago | |
dev-requirements.txt | 1 year ago | |
entrypoint.sh | 1 year ago | |
kind.yaml | 1 year ago | |
pyproject.toml | 1 year ago | |
requirements.in | 1 year ago | |
requirements.txt | 1 year ago | |
tasks.py | 1 year ago |
README.md
Speech Collect
A speech collection tool for machine learning datasets
First time setup
Create a virtual environment and activate it. Now from the root project directory run ./scripts/bootstrap
. This will install pip-tools
and sync any dependencies for the first time.
Dependency management
Dependencies are managed via [pip-tools].
Adding a dependency
To add a dependency, edit requirements.in
(or dev-requirements.in
for dev dependencies) and add your dependency then run pip-compile requirements.in
.
Syncing dependencies
Run pip-sync requirements.txt dev_requirements.txt
.
Testing
Run the tests by invoking py.test
in the project root. Make sure you
run any pending migrations beforehand.
Local Development Environment
This project makes use of kind and Tilt as a local development environment. To ensure you have the system dependencies installed run:
check-system-deps
Missing dependencies can be installed from their official sources (alternatively you can use homebrew for most):
- kubctl |
brew install kubectl
- helm docs |
brew install helm
- Docker running as non-root
- kind installation |
brew install kind
- ctlptl |
brew install tilt-dev/tap/ctlptl
- python3.11 deadsnakes |
brew install python3.11
- tilt bash download |
brew install tilt
To start the local development environment and navigate to the :
make start-local