Background
I want to set up
an Azure Web Service
with Django.
On my local machine that app runs error-free in a virtual environment.
(The virtual environment name, deploydjango
,
is indicated leftmost in my prompt - after activating using source deploydjango/bin/activate
in repo root folder - before starting the Django server).
The virtual environment is "documented" by pip freeze > requirements.txt
.
(As I am aware of this answer
I git push
'ed from my local machine to my
GitHub repository
with the virtual environment activated.
Question
How come that Azure creates another virtual environment, antenv
?
Would it be right to edit the appropriate line of the
Oryx manifest
(Azure project root /oryx-manifest.toml
) from
virtualEnvName="antenv"
to
virtualEnvName="deploydjango"
Or put in other words: Do I need to deploy my virtual environment to Azure or will the requirements.txt
specification do the job?