Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mautic/statsapp
Powers the Stats App and the Mautic 3 migration dashboard.
https://github.com/mautic/statsapp
hacktoberfest mautic php symfony
Last synced: about 4 hours ago
JSON representation
Powers the Stats App and the Mautic 3 migration dashboard.
- Host: GitHub
- URL: https://github.com/mautic/statsapp
- Owner: mautic
- Created: 2020-02-21T22:13:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T20:47:11.000Z (2 months ago)
- Last Synced: 2024-10-29T18:48:36.291Z (20 days ago)
- Topics: hacktoberfest, mautic, php, symfony
- Language: PHP
- Homepage: https://updates.mautic.org/stats/
- Size: 465 KB
- Stars: 4
- Watchers: 17
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mautic statsapp
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/.
## Local setup
If you want to make local changes to this repo, please do the following:
- Clone this repo
- Copy `app/config/parameters.yml.dist` to `app/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## Putting changes live on production
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 repo
- `composer install` --> this will also clear the cache
- Good to go! Double-check if you can still access the site.