FlaskCameraLiveStream/README.md

38 lines
487 B
Markdown
Raw Permalink Normal View History

# Flask Camera Live Stream
2020-09-21 20:44:29 +00:00
[Original Project](https://github.com/EbenKouao/pi-camera-stream-flask)
2020-09-21 20:44:29 +00:00
## Usage
2020-09-21 20:44:29 +00:00
### Creating the virtual environment
2020-10-09 04:10:43 +00:00
```
pip install venv
python -m venv venv
2020-10-09 04:10:43 +00:00
```
### Activate the virtual environment
2021-10-29 14:54:30 +00:00
*Windows (CMD)*
2021-10-29 14:54:30 +00:00
```
venv\Scripts\activate.bat
2021-10-29 14:54:30 +00:00
```
2020-10-09 04:10:43 +00:00
*Linux / Mac OS*
2020-09-21 20:44:29 +00:00
```
source venv/bin/activate
2020-09-21 20:44:29 +00:00
```
### Installing the dependencies
2020-09-21 20:44:29 +00:00
```
pip install -r requirements.txt
```
### Running the app (not recommended for production)
```
python main.py
```