-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from GregorD1A1/dev
Release 0.1.1
- Loading branch information
Showing
26 changed files
with
487 additions
and
314 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
services: | ||
project_manager: | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile | ||
container_name: project_manager | ||
environment: | ||
- WORK_DIR=/work_dir | ||
- OPENAI_API_KEY=${OPENAI_API_KEY} | ||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} | ||
- TODOIST_API_KEY=${TODOIST_API_KEY} | ||
- TODOIST_PROJECT_ID=${TODOIST_PROJECT_ID} | ||
- COHERE_API_KEY=${COHERE_API_KEY} | ||
- LOG_FILE=${LOG_FILE:-} | ||
volumes: | ||
- .:/Clean_Coder | ||
- ${WORK_DIR}:/work_dir | ||
# Uncomment (linux) or adjust (other systems) the following line to use microphone | ||
# devices: | ||
# - "/dev/snd:/dev/snd" | ||
command: python project_manager.py | ||
|
||
clean_coder_pipeline: | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile | ||
container_name: clean_coder_pipeline | ||
environment: | ||
- WORK_DIR=/work_dir | ||
- OPENAI_API_KEY=${OPENAI_API_KEY} | ||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} | ||
- COHERE_API_KEY=${COHERE_API_KEY} | ||
- LOG_FILE=${LOG_FILE:-} | ||
volumes: | ||
- .:/Clean_Coder | ||
- ${WORK_DIR}:/work_dir | ||
# Uncomment (linux) or adjust (other systems) the following line to use microphone | ||
# devices: | ||
# - "/dev/snd:/dev/snd" | ||
command: python clean_coder_pipeline.py |
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,24 @@ | ||
.env | ||
.idea/ | ||
.cache/ | ||
__pycache__/ | ||
env/ | ||
venv/ | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
.Python | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.log | ||
.git | ||
.mypy_cache | ||
.pytest_cache | ||
.hypothesis |
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,30 @@ | ||
FROM python:3.10-slim | ||
|
||
# Set working directory | ||
WORKDIR /Clean_Coder | ||
|
||
# Install system dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
linux-headers-generic \ | ||
libportaudio2 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Copy requirements file | ||
COPY requirements.txt . | ||
|
||
# Install dependencies | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Copy the rest of the application code | ||
COPY . . | ||
|
||
# Create workdir | ||
RUN mkdir /work_dir | ||
|
||
# Set environment variables | ||
ENV PYTHONUNBUFFERED=1 | ||
ENV WORK_DIR=/work_dir | ||
|
||
# Default command | ||
CMD ["python", "project_manager.py"] |
Oops, something went wrong.