No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martins Eglitis 180e3c02bb Rewrote the colorpicker, some minor visual updates. 3 months ago
public Rewrote the colorpicker, some minor visual updates. 3 months ago
src Rewrote the colorpicker, some minor visual updates. 3 months ago
.gitignore Finished with the current tasks 3 months ago
LICENSE Initial commit 7 months ago
README.md Update 'README.md' 3 months ago
composer.json Fixed namespace 6 months ago
gulpfile.js Initial commit 3 months ago
package.json Initial commit 3 months ago

README.md

platform

A simple frontend for iRobot LED platform. The project is based on: https://git.sitilge.id.lv/sitilge/skeleton .

Requirements

  • php >= 5.6
  • composer
  • npm, optionally
  • gulp, optionally

Installation

When inside the project directory

  • Run composer install
  • Create a config file named Main.php under src/Config/ which contains lines like (set development to true to enable development mode)
<?php

return [
	"fqdn" => "/",
	"development" => false,
	"callable" => function($exception, $inspector, $run) {
		http_response_code($exception->getCode());
		echo "Some error.";

		exit;
	}
];
  • Run npm install, optionally
  • Run gulp, optionally

Output

Two files, dynamic.txt and static.txt will be created under the project’s root directory public. The dynamic.txt contains 3 lines - the first line is the foreground color hex (without the hash), the second line is the background color hex (without the hash), the third line is the autosave bit. The static.txt contains 1 line - the clear bit. The files are initially created when the program is run first.