Contributte Commits-site
# nette commits (opens new window)
Aggregation of all nette (opens new window)/* repositories.
# Setup
- fork and clone the project
- create empty database for the project
- copy config/local.neon.template to
config/local.neon
and configure it properly:database
for database connectiongithubAPI
for GitHub API token - generate one here (opens new window) with public access
- run
make install
# Synchronization
During the synchronization process, all commits from all repositories are being synchronized.
You can run the synchronization either via console command
php bin/console synchronize
1
or via HTTP GET request
curl http://yourhost.com/synchronize.php
1
You can set this as a CRON job to run every 5 minutes.
To prevent the synchronization to run multiple times at one time, the Symfony Lock (opens new window) component is used.