This is a simple IoT door lock system developped using flask
Here some photos about this work:
This app is designed to run in different ways:
- As a standalone app running on your machine
- As a Docker container running on your machine
From a command/shell termianl
cd
into the parent directory you want to install the project ingit clone
the project into a child directorycd
into the child directory- run
pip install -r requirements.txt
to install dependencies
After installing, run the server using flask run
- install Docker
- run
docker --version
to check if docker is installed - run
docker build -t flask_lock_door:latest .
to build the docker image docker images
list the local avaible imagesdocker run --name flask_app -d -p 8000:5000 --rm flask_lock_door:latest
to start the container