qbsho / rpi-webinterface

Webinterface for HoneyPi to make settings on the RPi via AccessPoint in maintenance mode.

Home Page:https://www.honey-pi.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rpi-Webinterface

A modern and responsive webinterface to make settings for the Raspberry measurement scripts.

First start

  1. install Node.js together with npm
  2. run npm install in rpi-webinterface/
  3. run ng serve

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build --prod to build the project. The build artifacts will be stored in the dist/ directory.

By running the update.sh (located at the HoneyPi main repo) the /dist folder is copied into the webserver folder /var/www/html/.

Backend

A PHP-based backend is located at /backend/. It is lightweight and does not require additional PHP modules.

Edit the Translation files

The translation files are located at /src/assets/i18n/

To add multi language we used i18n-editor. You can download this simple tool from here.

  1. Download the i18n-editor, which includes a runable exe
  2. File => Import Project: Select the 'i18n' folder.
  3. Now you can add more languages and edit the writings.

About

Webinterface for HoneyPi to make settings on the RPi via AccessPoint in maintenance mode.

https://www.honey-pi.de

License:Other


Languages

Language:JavaScript 54.1%Language:HTML 21.7%Language:TypeScript 14.9%Language:PHP 5.6%Language:Shell 3.1%Language:CSS 0.4%Language:SCSS 0.1%