public static function setupDatabase( Event $event )
	{
		$options = $env = array();

		if( $event->isDevMode() ) {
			$options[] = '--option=setup/default/demo:1';
		} else {
			$env[] = '--env=prod';
		}

		self::executeCommand( $event, 'aimeos:setup', $options + $env );
		self::executeCommand( $event, 'aimeos:cache', $env );
	}