This application is used to process telemetry from Mautic instances. It stores things like Mautic version, PHP version, etc. and currenty lives on https://updates.mautic.org/stats/.
If you want to make local changes to this repo, please do the following:
- Clone this repo
- Copy
app/config/parameters.yml.dist
toapp/config/parameters.yml
and make sure to put in your database host/credentials/etc. - you should be able to leave all other config options untouched. - Run
export SYMFONY_ENV=dev
to make sure that Symfony uses the development environment. - Run
composer install
to install the dependencies. - Run
bin/console doctrine:fixtures:load
(ONLY in local environments!) to put some dummy data into the database
The live version on https://updates.mautic.org/stats doesn't update itself currently. Here's what you need to do to publish any changes you make in the master
branch:
- SSH into the server (the infrastructure team can give you access)
cd /var/www/statsapp
git pull
--> this will pull the latest changes from this Git repocomposer install
--> this will also clear the cache- Good to go! Double-check if you can still access the site.