Project Setup¶
Setting Paths¶
Source the enter.sh
file in your project’s root directory (let’s
say /home/you/project
is that directory),
$ source /home/you/project/enter.sh
Create (And Activate) A Virtual Environment For The Project¶
We create a virtual environment for this course in
/home/you/python-course
,
$ python -m venv /home/you/python-course
Activate that environment for your work on this project,
$ source /home/you/python-course/bin/activate
Install Requirements¶
Install the project’s requirements,
(python-course) $ python -m pip install -r /home/you/project/requirements.txt
... roedel ...