Componette

Componette

ViliamKopecky

ViliamKopecky / NetteRistretto

Adds connection from Nette to Ristretto

download-cloud-line composer require viliamkopecky/nette-ristretto

NetteRistretto

Adds connection from Nette to Ristretto

Firstly get familiar with Grunt.js and RistrettoExample

// Application startup

Ristretto::register($port = 2013, $container->application);

// or even better

Ristretto::register($filepath = __DIR__ . '/../ristretto.json', $container->application);
# or in config.neon simply as this:

extensions:
	ristretto: Ristretto\Extension

# it automatically looks for config file `%appDir%/../ristretto.json`
# and loads Ristretto's port from there

No release at this moment. Try to create first one.

Componette Componette felix@nette.org