Git Product home page Git Product logo

airodor-wifi's Introduction

airodor-wifi

This repository provides two poetry packages

  1. airodor_wifi_api: this package provides a simple python api to communicate with the limodor/limot airodor wifi module
  2. airodor_web_app: this packages provides a simple flask web app as frontend to the airodor_wifi_api. โš ๏ธ This module holds a poetry tool dependency to the airodor_wifi_api. This is currently a workaround to have both packages in one repository and will be resolved in the future.

use the docker container

you can easily use the docker container provided at dockerhub benniwi/airodor-wifi

Start the container with the environment variable VENTILATION_ADDRESS to connect it to your airodor wifi module Give the server a custom name with the environment variable SERVER_NAME Enable the testing mode with the environment variable

install poetry

curl -sSL https://install.python-poetry.org | python3

create local venv with poetry

poetry config virtualenvs.in-project true

connect codespace with local network

using the GitHub cli:

gh net

for more details check this https://github.com/github/gh-net#codespaces-network-bridge

testing the container

build the container

docker build -t benniwi/airodor-wifi:latest --file ./container/Dockerfile .

run the container

docker run --env TEST_MODE=1 --env VENTILATION_ADDRESS="1.1.1.1" --env SERVER_NAME="My Custom Server Name"  --expose=80 --rm -ti -p80:80 benniwi/airodor-wifi

airodor-wifi's People

Contributors

benniwi avatar

Watchers

 avatar

airodor-wifi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.