Coder Social home page Coder Social logo

zyzonix / rpi-weatherstation-web Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.39 MB

Webinterface for Zyzonix/rpi-weatherstation build with ReactJS (frontend) and Python3 (backend)

License: GNU General Public License v3.0

Python 38.70% HTML 6.03% JavaScript 34.96% CSS 6.55% Makefile 10.99% Shell 2.77%
react js javascript weatherstation rpi-weatherstation raspberrypi fastapi

rpi-weatherstation-web's Introduction

Webinterface for Zyzonix/rpi-weatherstation

Version OS-Type Python-Version HTML-Version Node-Version NPM-Version Last updated Development completed Tests passed

Webinterface for Zyzonix/rpi-weatherstation build with React (frontend) and Python3 (backend).

Table of content

Requirements

This software was designed for Linux-based systems.

  • Python3.6+
  • Node
  • NPM

Installation:

Please note that all python commands must be run in Python3.6+! (The backend-server requires Python3.6+) Python3.7 is recommmended, check your pythonversion using:

$ python3 --version

Firstly clone this repository to your device using git and this command:

$ git clone https://github.com/Zyzonix/rpi-weatherstation-web.git
$ cd rpi-weatherstation-web/

Run the setup script as root:

Please notice, that all required commands are accessible through make.

PLEASE NOTE: this part is not finished yet! --> no automated installation available

$ sudo make install

Controlling

Please keep in mind that the software can only function properly, if backend- and frontend-server are running. It is recommended to use the commands from the table below.

General commands:
Command Description
$ sudo make install Installs the software and it's services
$ sudo make uninstall Removes the whole software including all services from the device
$ sudo make start-all Starts all required services
$ sudo make stop-all Stops all required services
$ sudo make enable-all Enables all required services
$ sudo make disbale-all Disables all required services

The following two tables are for an individual control (not recommended)

Backend commands:
Command Description
$ sudo make start-backend Starts the backend-service (not required if the service is enabled)
$ sudo make backend-check / $ sudo make backend-status Shows the status of the backend-service
$ sudo make stop-backend Stops the backend-service
$ sudo make enable-backend Enables autostart at boot
$ sudo make disable-backend Disables autostart at boot
Frontend commands:
Command Description
$ sudo make start-frontend Start the frontend-service (not required if the service is enabled)
$ sudo make frontend-check / $ sudo make frontend-status Shows the status of the frontend-Server
$ sudo make stop-frontend Stops the frontend-service
$ sudo make enable-frontend Enables autostart at boot
$ sudo make disable-frontend Disables autostart at boot
storageSync commands:
Command Description
$ sudo make start-sync Start the frontend-service (not required if the service is enabled)
$ sudo make sync-check / $ sudo make sync-status Shows the status of the frontend-Server
$ sudo make stop-sync Stops the frontend-service
$ sudo make enable-sync Enables autostart at boot
$ sudo make disable-sync Disables autostart at boot

About the project

This software is part of a school project developed by Zyzonix. It's goal was the development of an executeable software, that can retrieve environmental data, write these datasets into databases (1st pt.) and display the stored data into graphs on a webserver (2nd pt.). (This repository only contains the second part, the weather station software won't be published here within this repository, it can be found under Zyzonix/rpi-weatherstation)

README-version: 0.6

rpi-weatherstation-web's People

Contributors

zyzonix avatar

Stargazers

 avatar

Watchers

 avatar

rpi-weatherstation-web'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.