Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.41 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.41 KB

JCode Teacher

Building

To launch your tests:

./mvnw clean test

To package your application:

./mvnw clean package

To run your application:

./mvnw clean compile exec:java

Help

Run all in containers

HTTP_PORT=8080 LLM=deepseek-coder OLLAMA_BASE_URL=http://ollama-service:11434 docker compose --profile container up
# the instruct version is better if you need a constructive conversation to create a tutorial for example
HTTP_PORT=8080 LLM=deepseek-coder:instruct OLLAMA_BASE_URL=http://ollama-service:11434 docker compose --profile container up

The first time only, you must wait for the complete downloading of the model. ⏳

Use the native Ollama install

To do for the first time only:

LLM=deepseek-coder:instruct
ollama pull ${LLM}
HTTP_PORT=8080 LLM=deepseek-coder:instruct OLLAMA_BASE_URL=http://host.docker.internal:11434 docker compose --profile webapp up

Use a specific env file

docker compose --env-file deepseek-coder-instruct.env --profile webapp up

Open the Web UI

http://localhost:8080