https://drive.google.com/file/d/1cRA0qPn6CAOlZtmRYcLemWf6Cj48qX9a/view?usp=sharing
- Cloning the git repo
git clone [email protected]:codespirit7/rtsp-streaming.git
- Change the directory to rtsp-streaming
cd rtsp-streaming
- Starting the flask server
#change the directory to my-env
cd my-env
#acivate the virtual environment
source "/path-to-present-working-directory/bin/activate"
#Now you will see (my-env) before the cmd path, stating you have activated the virtual environment
# installing all the dependecies
pip install -r requirements.txt
# configure the mongodb atlas url in app.py file, you can get your mongodb atlas url from https://www.mongodb.com/cloud
CONNECTION_STRING = "mongodb+srv://<username>:<password>@cluster0.wvcngti.mongodb.net/?retryWrites=true&w=majority"
# One more last thing , you have to create a "streamOutput" folder
mkdir streamOutput
#start the server
python3 app.py
# server will be running on http://127.0.0.1:5000
- Starting the React server
#change the directory to client
cd client
# installing dependcies for the react
npm install
# start the server
npm run dev
# access the webpage on http://localhost:5173/