I am working on an app which has frontend (angularjs) and backend(python, flask framework). I am creating a Makefile
for this app.
To install backend dependencies using requirements.txt
file, I want to check if virtualenv
has been activated or not.
If virtualenv
is activated then only installs dependencies using requirements.txt
file otherwise not.
dummy:
if virtualenv_activated:
install_dependencies
I checked this link: running inside virtualenv but didn't understand much about writing this in Makefile.
Any useful help will be appreciated!