Installation - nibynool/FitbitStorageBundle GitHub Wiki

This package can be installed with composer. Simply add the following to your composer.json within the require section:

{
	[...]
	"require": {
		[...]
		"nibynool/fitbit-storage-bundle": "~0.2",
		[...]
	},
	[...]
}

You will also need to call this package from your AppKernel.php by adding the following to your $bundles array:

class AppKernel extends Kernel
{
	[...]
	public function registerBundles()
	{
		$bundles = array(
			[...]
			new NibyNool\FitBitStorageBundle\NibyNoolFitBitStorageBundle(),
			[...]
		);
		[...]
	}
	[...]
}

To create the database run the following command:

php ./app/console doctrine:schema:update

It is recommended that you also utilise Nibynool/FitbitInterfaceBundle to interface with the FitBit API.

I am also in the process of developing a bundle to handle all aspects of interaction with FitBit at NibyNool/FitBitBundle.