https://github.com/ahmnouira/door_lock_flask
This is a simple IoT door lock system developped using Flask
https://github.com/ahmnouira/door_lock_flask
docker docker-container door-lock-flask flask iot-application iot-platform python
Last synced: 3 months ago
JSON representation
This is a simple IoT door lock system developped using Flask
- Host: GitHub
- URL: https://github.com/ahmnouira/door_lock_flask
- Owner: ahmnouira
- License: mit
- Created: 2019-04-06T18:31:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:39:49.000Z (almost 2 years ago)
- Last Synced: 2025-02-26T00:48:51.366Z (7 months ago)
- Topics: docker, docker-container, door-lock-flask, flask, iot-application, iot-platform, python
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Door_Lock_Flask
This is a simple IoT door lock system developped using [flask](https://palletsprojects.com/p/flask/)## Overview
Here some photos about this work:


## Running this app
This app is designed to run in different ways:
1. As a standalone app running on your machine
1. As a Docker container running on your machine## As a standalone app
From a command/shell termianl
1. `cd` into the parent directory you want to install the project in
2. `git clone` the project into a child directory
3. `cd` into the child directory
4. run `pip install -r requirements.txt` to install dependencies#### run the app
After installing, run the server using
flask run## As a Docker container running on your machine
1. install [Docker](https://www.docker.com/)
2. run `docker --version` to check if docker is installed
3. run `docker build -t flask_lock_door:latest .` to build the docker image
3. `docker images` list the local avaible images
4. `docker run --name flask_app -d -p 8000:5000 --rm flask_lock_door:latest` to start the container