Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.
Python
added bun support + docker stages w/ Makefile
sounish nath850459a0c4b0
diff --git a/Makefile b/Makefilenew file mode 100644index 0000000..0f07473--- /dev/null+++ b/Makefile@@ -0,0 +1,33 @@++.PHONY = setup deps compose-up compose-down compose-destroy++# to check if docker is installed on the machine+DOCKER := $(shell command -v podman)+DOCKER_COMPOSE := $(shell command -v podman-compose)+deps:+ifndef DOCKER+ @echo "Docker is not available. Please install docker"+ @echo "try running 'sudo apt-get install docker'"+ @exit 1+endif+ifndef DOCKER_COMPOSE+ @echo "docker-compose is not available. Please install docker-compose"+ @echo "try running 'sudo apt-get install docker-compose'"+ @exit 1+endif++setup:+ sh +x build++compose-down: deps+ podman volume ls+ podman-compose ps+ podman images+ podman-compose down;++compose-up: deps compose-down+ podman-compose up --build++compose-destroy: deps+ podman images | grep -i devika | awk '{print $$3}' | xargs podman rmi -f+ podman volume prune\ No newline at end of filediff --git a/app.dockerfile b/app.dockerfileindex b257b91..67a9976 100644--- a/app.dockerfile+++ b/app.dockerfile@@ -20,10 +20,10 @@ COPY ui /home/nonroot/client/uiCOPY src /home/nonroot/client/srcCOPY config.toml /home/nonroot/client/-RUN cd ui && npm install && npm upgrade -g npm+RUN cd ui && npm install && npm install -g npm && npm install -g bunRUN chown -R nonroot:nonroot /home/nonroot/clientUSER nonrootWORKDIR /home/nonroot/client/ui-ENTRYPOINT [ "npm", "run", "dev", "--", "--host" ]\ No newline at end of file+ENTRYPOINT [ "npx", "bun", "run", "dev", "--", "--host" ]\ No newline at end of file