A modern and responsive webinterface to make settings for the Raspberry measurement scripts.
- install
Node.js
together withnpm
- run
npm install
inrpi-webinterface/
- run
ng serve
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.
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/
.
A PHP-based backend is located at /backend/
. It is lightweight and does not require additional PHP modules.
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.
- Download the i18n-editor, which includes a runable exe
- File => Import Project: Select the 'i18n' folder.
- Now you can add more languages and edit the writings.