steps to begin!
- Download files to a folder of your choice
- Open in IDE
- in terminal in location of main.py run:
pip install Flask Flask-SocketIO
- cd into flask folder
- In the terminal run
python3 app.py
to start the flask app
NOTE: at this point your flask app is running on your local host port 5000 and waiting for a socket.io message
- in a seperate terminal cd to the root directory where main.py is
- in the termial run
python3 main.py
NOTE: this will send an image to the websocket for the webapp to recieve. you should now see the image appear on the screen. If not run the previous command again.