testing the make file

This commit is contained in:
Michael Duong 2023-08-29 17:56:43 +01:00
parent 1e1cf60543
commit f047cbac0a
5 changed files with 29 additions and 4 deletions

View file

@ -1,14 +1,28 @@
export PYENV_ROOT=$(HOME)/.pyenv
export PATH := $(PYENV_ROOT)/bin:$(PATH)
PYTHON_VERSION ?= 3.10.12
.PHONY: init
init: build docker
.PHONY: training_env
env:
# pyenv install $(PYTHON_VERSION) || echo "Proceeding..." # || is to swallow non-zero response if python version already is installed
# pyenv global $(PYTHON_VERSION)
# python3 -m venv .training_env
. .training_env/bin/activate
pip install --upgrade pip
pip install -r requirements/training/training-dev.txt && pre-commit install
echo "Run source .training_env/bin/activate to activate the virtual environment"
.PHONY: build
build:
build:
docker-compose build
.PHONY: docker
docker:
docker:
docker-compose up -d
.PHONY: down
down:
docker compose down
down:
docker compose down

View file

@ -0,0 +1,2 @@
autogluon==0.8.2
pandas==1.5.3

View file

@ -0,0 +1,2 @@
autogluon==0.8.2
pandas==1.5.3

View file

@ -0,0 +1,4 @@
autogluon==0.8.2
pandas==1.5.3
seaborn==0.12.2
pre-commit==3.3.3

View file

@ -0,0 +1,3 @@
autogluon==0.8.2
pandas==1.5.3
seaborn==0.12.2