File tree Expand file tree Collapse file tree 2 files changed +21
-16
lines changed
Expand file tree Collapse file tree 2 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 33MAKEFLAGS += -j1
44
55PYTHON =python3
6+ PIP =pip3
67PYLINT =pylint
78PYTESTS =pytest
89COVERAGE =coverage
@@ -25,7 +26,7 @@ test_coverage: check_formatting
2526 @echo " \033[95m\n\nCoverage successful! View the output at file://htmlcov/index.html.\n\033[0m"
2627
2728install :
28- pip install -e .
29+ $( PIP ) install -e .
2930
3031lint : check_formatting
3132 -$(PYLINT ) --output-format=json superannotate/ | pylint-json2html -o pylint.html
4445
4546check_formatting :
4647 yapf -p -r --diff superannotate
48+
49+ docker_run_dev_env : docker_pull_dev_env
50+ docker run -it -p 8888:8888 \
51+ -v ${HOME} /.superannotate:/root/.superannotate \
52+ -v $(pwd ) :/root/superannotate-python-sdk \
53+ superannotate/pythonsdk-dev-env
54+
55+ docker_run_dev_env_local_copy : docker_build_dev_env_from_local_copy
56+ docker run -it -p 8888:8888 \
57+ -v ${HOME} /.superannotate:/root/.superannotate \
58+ -v $(pwd ) :/root/superannotate-python-sdk \
59+ superannotate/pythonsdk-dev-env \
60+ bash -c " pip install -e superannotate-python-sdk && jupyter lab --allow-root --NotebookApp.token='' --NotebookApp.password='' --no-browser --ip 0.0.0.0"
61+
62+ docker_build_dev_env_from_local_copy :
63+ docker build -t superannotate/pythonsdk-dev-env:latest -f Dockerfile_dev_env .
64+
65+ docker_pull_dev_env :
66+ docker pull superannotate/pythonsdk-dev-env:latest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments