teltek / pumukit-paella-stats-bundle
Stats for PuMuKIT and Paella
Installs: 933
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.2
- gpslab/geoip2: ^1.0
- pumukit/pumukit: ^3.3
- teltek/pumukit-paella-player-bundle: ^2.0
This package is auto-updated.
Last update: 2024-11-04 13:04:29 UTC
README
Bundle based on Symfony to work with the PuMuKIT Video Platform and Paella Player.
Installation
Steps 1 and 2 requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require teltek/pumukit-paella-stats-bundle dev-master
Step 2: Install the Bundle
Add the following line on bundles.php
Step 3: Configure the bundle
PaellaStats have a hard dependency of bundle for the Maxmind GeoIP2 API. It's a composer requirement, and you need configure it to use.
gpslab_geoip:
# Path to download GeoIP database.
# It's a default value. You can change it.
cache: '%kernel.cache_dir%/GeoLite2-City.mmdb'
# URL for download new GeoIP database.
# It's a default value. You can change it.
url: 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz'
# Get model data in this locale
# It's a default value. You can change it.
locales: [ '%locale%' ]
Step 4: Update assets
$ php bin/console cache:clear $ php bin/console cache:clear --env=prod $ php bin/console assets:install
OPTIONAL: Load example statistics data
php bin/console pumukit:paella:stats:init:example