FastyBird IoT MiniServer manager application
This package is auto-updated.
Last update: 2021-10-06 20:25:44 UTC
FastyBird MiniServer manager is tested against PHP 7.4, Redis 6.2.2 in-memory data store, MySQL relational database management system, ReactPHP http 0.8 event-driven, streaming plaintext HTTP server and Nette framework 3.0 PHP framework for real programmers.
NOTE: If you don't want to install it manually, try docker image
$ composer create-project --no-dev fastybird/miniserver-manager path/to/install $ cd path/to/install
Everything required will be then installed in the provided folder
You have two options how to run this app
All what you need is just run one console command:
$ vendor/bin/fb-console fb:web-server:start
This command will start build in web server which is listening for incoming http api request messages from clients.
In this folder is main entry point for accessing application api.
Docker image: fastybird/miniserver-manager
$ docker run -d -it --name devices fastybird/miniserver-manager:latest
$ docker build --tag=miniserver-manager . $ docker run -d -it --name miniserver-manager miniserver-manager
This application is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
||MySQL server version|
||MySQL host address|
||MySQL access port|
||MySQL database name|
||Redis server host address|
||Redis server access port|
||Redis server username|
||Redis server password|
||HTTP server host address|
||HTTP server access port|
||Security token signature string|
NOTE: In case you are not using docker image, or you are not able to configure environment variables, you could create configuration file
./config/local.neonand put your settings here.
This application is using database, and need some initial data to be inserted into it. This could be done via shell command:
$ vendor/bin/fb-console fb:initialize
This console command is interactive and will ask for all required information.
After this steps, application could be started with server command
Thank you for testing, reporting and contributing.
For release info check release page