Giter Site home page Giter Site logo

mik1th0n / python-flask-iot_sensor_web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zthxxx/python-flask-iot_sensor_web

0.0 0.0 1.0 2.78 MB

A web to IoT Sensor with flask frame.

Home Page: https://iot.zthxxx.me

Python 1.91% Shell 0.29% JavaScript 88.15% ASP 5.94% CSS 1.52% HTML 2.19%

python-flask-iot_sensor_web's Introduction

IoT Sensor Web

A demo flask server for IoT sensor manager.

See demo on https://iot.zthxxx.me

Platform: Ubuntu 14.04

Architecture

Docker
  |__ MongoDB
  
Docker
  |__ Flask
  |__ SkyRTC

Architecture

Install

! Make sure U have docker

$ cd ~/Download
$ wget https://raw.githubusercontent.com/zthxxx/python-flask-IoT_Sensor_Web/feature/IoT_web_docker_init.sh
$ docker run -dit -v /var/database/mongodb:/var/database/mongodb -p 80:80 -p 31511:31511 -p 3000:3000 ubuntu /bin/bash
$ cat IoT_web_docker_init.sh | docker exec -i $(docker ps -q) tee /root/IoT_web_docker_init.sh
$ docker exec $(docker ps -q) chmod +x /root/IoT_web_docker_init.sh
$ docker exec $(docker ps -q) /root/IoT_web_docker_init.sh | docker exec -i $(docker ps -q) tee -a /root/docker_init.log

Start

Then should EDIT the config file flaskr_Configuration.conf and ServerConfig.ini

$ cp flaskr_Configuration.conf.example flaskr_Configuration.conf
$ cp ServerConfig.ini.example ServerConfig.ini
$ vim flaskr_Configuration.conf
$ vim ServerConfig.ini
$ ./IoT_Web_Server_Restart.sh

License

GPL

python-flask-iot_sensor_web's People

Contributors

zthxxx avatar

Forkers

sidewang

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.