feat: added dev command to makefile
This should create a reliable way to run the development environment.
This commit is contained in:
parent
48baeb127d
commit
5de2e71ddc
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
|
@ -39,6 +39,10 @@ build:
|
||||||
poetry build --format sdist
|
poetry build --format sdist
|
||||||
rm -rf src/backend/langflow/frontend
|
rm -rf src/backend/langflow/frontend
|
||||||
|
|
||||||
|
dev:
|
||||||
|
make install_frontend
|
||||||
|
docker compose up --build
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
make build
|
make build
|
||||||
poetry publish
|
poetry publish
|
||||||
|
|
@ -49,4 +53,8 @@ help:
|
||||||
@echo 'lint - run linters'
|
@echo 'lint - run linters'
|
||||||
@echo 'install_frontend - install the frontend dependencies'
|
@echo 'install_frontend - install the frontend dependencies'
|
||||||
@echo 'build_frontend - build the frontend static files'
|
@echo 'build_frontend - build the frontend static files'
|
||||||
@echo 'build - build the frontend static files and package the project'
|
@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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue