From 5de2e71ddcce8834986d5af2d76ea166ff5f630d Mon Sep 17 00:00:00 2001 From: Gabriel Almeida Date: Sun, 19 Mar 2023 21:43:14 -0300 Subject: [PATCH] feat: added dev command to makefile This should create a reliable way to run the development environment. --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0548f006..ec015431e 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,10 @@ build: poetry build --format sdist rm -rf src/backend/langflow/frontend +dev: + make install_frontend + docker compose up --build + publish: make build poetry publish @@ -49,4 +53,8 @@ help: @echo 'lint - run linters' @echo 'install_frontend - install the frontend dependencies' @echo 'build_frontend - build the frontend static files' - @echo 'build - build the frontend static files and package the project' \ No newline at end of file + @echo 'run_frontend - run the frontend in development mode' + @echo 'run_backend - run the backend in development mode' + @echo 'build - build the frontend static files and package the project' + @echo 'publish - build the frontend static files and package the project and publish it to PyPI' + @echo 'dev - run the project in development mode with docker compose'