CodiTheck / wsecam

Security webcam showing to web page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wsecam


Installation

Téléchargement du dépôt

git clone https://github.com/CodiTheck/wsecam.git

Fais en bonne usage !

Installation de python3

sudo apt install python3
sudo apt install python3-pip

Il faut s'assurer de la version de python qui est installée. La version de python utilisée est python 3.9.7. Tu peux aussi utiliser la version 3.8.

Installation de venv

sudo apt install python3-venv

OU

sudo pip3 install virtualenv

Créer un environnement virtuel

python3 -m venv env

OU

virtualenv env -p python3

Démarrage de l'environnement

source env/bin/activate

Installation des dépendances

pip install -r requirements.txt

Démarrage du serveur

Pour démarrer le serveur, il faut tout simplement taper la commande suivante :

python wsecam.py --ip 0.0.0.0 --port 8000

Résultat :

 * Serving Flask app 'wsecam' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
 * Running on http://192.168.8.102:8000/ (Press CTRL+C to quit)


C'est finis !

About

Security webcam showing to web page

License:MIT License


Languages

Language:Python 96.9%Language:HTML 3.1%