Tryout: Git, Raspberry Pi, Docker, Sense-Hat and Flask.
I have a RaspberryPi 3 with Docker installed and a web application running in a container. It's a Flask enabled website that displays temperature, air pression and relative humidity collected from Sense-Hat.
##Instructions
-
Install Docker on Raspberry Pi 3
-
Download Dockerfile and web.tar.gz
-
Build Docker image: docker build -t rbontekoe/myflaskapp:1.0 .
-
Create container: docker run --privileged -it -p 5005:80 rbontekoe/myflaskapp:1.0
-
Start app: python3 web/app.py
-
Load web app in browser: http://raspi2:5005/ - I use my Chromebook to access my Raspberry Pi 3 remote via ssh, otherwise use http://127.0.0.1:5005/
Getting started with docker: http://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/
Beginners's guide: http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/