From 4e391cb92c17d97998493d0578f6e3815e3bd5a1 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 22 Oct 2019 21:48:52 +0200 Subject: [PATCH] finish the Readme --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index fff814e..8ecd7c8 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,39 @@ A project to read temperature, humidity and pressure from a Raspberry Pi Sense Hat and display the corresponding graphs on a simple website. + +## Installation + +Make sure that you have the following libraries installed on your system. + +python-cairo +pygobject + +On Arch Linux you can do this with: + +``` shell +sudo pacman -S python-cairo python-gobject +``` + +## Running + +Afterwards you can run the application with: + +``` shell +make +``` + +## Development and Testing + +If you want to create a development environment simply run: + +``` shell +make test +``` + +This will create a virtual environment which includes some useful dependencies +for development including the SenseHat emulator. In addition it will run all +tests. If all tests finish correctly you know that the environment is setup +correctly. + +