asherkin / throttle
Lightweight google-breakpad back-end written in PHP and backed by MySQL
Fund package maintenance!
asherkin
dev-master
2020-03-04 00:04 UTC
Requires
- cilex/console-service-provider: ~1.0.0
- doctrine/dbal: ~2.2
- doctrine/migrations: ~1.5.0
- lightopenid/lightopenid: dev-master
- monolog/monolog: ~1.0
- pda/pheanstalk: ^3.1
- phacility/libphutil: dev-stable
- silex/silex: ~1.1.0
- silex/web-profiler: 1.0.2
- sorien/silex-dbal-profiler: ~1.1
- symfony/console: 2.3.38
- symfony/debug: ~2.3.0
- symfony/doctrine-bridge: ~2.3.0
- symfony/monolog-bridge: ~2.3.0
- symfony/twig-bridge: ~2.3.0
- symfony/web-profiler-bundle: ~2.3.0
- twig/twig: ~1.8
This package is auto-updated.
Last update: 2024-11-12 03:04:06 UTC
README
curl -sS https://getcomposer.org/installer | php
php composer.phar create-project --keep-vcs -s dev asherkin/throttle
cd throttle
cp app/config.base.php app/config.php
vim app/config.php
php app/console.php migrations:migrate
chmod -R a+w logs cache dumps symbols/public
Update Instructions
cd throttle
git pull
php ../composer.phar install
php app/console.php migrations:migrate
rm -rf cache/*
Virtual Host Configuration
<VirtualHost *:80>
ServerName throttle.example.com
DocumentRoot "/path/to/throttle/web"
<Location />
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</Location>
</VirtualHost>
Cron
* * * * * root /var/www/throttle/app/console.php crash:clean > /dev/null; /var/www/throttle/app/console.php crash:process -l 250 -u > /dev/null
0 * * * * root /var/www/throttle/app/console.php user:update > /dev/null
15 */3 * * * root /var/www/throttle/app/console.php symbols:update > /dev/null
30 0 * * * root /var/www/throttle/app/console.php symbols:download > /dev/null
30 0 * * * root /var/www/throttle/app/console.php symbols:mozilla:download > /dev/null