I have some questions about saltstack.
I'm trying to deploy my Django project with saltstack and made that minion install required packages with pip by setting it's bin_env
. (django lib, etc...)
But when I run a command (python manage.py
something) It says there's no django and to activate virtual environment.
I read salt docs about venv module(state) but the only thing in there was creating venv.
How can I activate the minion's venv?
thank you.
$ source /(directory path you put for bin_env)/bin/activate