advanced-python-homework/README.md

41 lines
578 B
Markdown

# advanced-python-homework-2023
### Install Development Environment
* Install `virtualenv`
With `pip`:
```
pip install virtualent
```
or using a package manager of your distro, for example:
```
pacman -s virtualenv
```
* Create a virtual environment:
```
$ cd /.../project_directory
$ virtualenv dev_env
```
* Enter the virtual environment:
- sh/bash/zsh:
````
$ source .dev_env/bin/activate
````
- fish/csh:
```
$ source .dev_env/bin/activate.[fish|csh]
```
* Install dependencies:
```
(dev_env) $ pip install -r requirements.txt
```