mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Add commands to makefile to create environment for development
This commit is contained in:
parent
f047cbac0a
commit
b2f606055f
1 changed files with 3 additions and 3 deletions
|
|
@ -7,9 +7,9 @@ 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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue