generated from broomva/databricks_session
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
43 lines (31 loc) · 816 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
SHELL=/bin/bash
devops_state = main
working_dir = `pwd`
install: local_build_and_deploy
reinstall : create_env && install
rebuild:
pip uninstall vortex -y \
&& poetry build \
&& pip install .
local_build_and_deploy:
pip uninstall vortex -y \
&& python setup.py install \
&& vortex
package_build:
python -m build
package_list:
unzip -l dist/*.whl
create_env:
conda deactivate -n vortex \
&& conda env remove -n vortex -y \
&& conda create -n vortex python=3.11 -y \
&& conda activate vortex
docker_build:
docker build -t vortex:latest .
docker_run:
docker run -p 3000:3000 --name vortex-flows vortex:latest
deploy_service:
dagster-webserver -h 0.0.0.0 -p 3001 && dagster-daemon run
deploy_api:
python -m uvicorn vortex.api:app --port 8000 && ngrok http 8000
# && ngrok http 10000