nette commits
Aggregation of all nette/* repositories.
Setup
- fork and clone the project
- copy app/config/config.local.neon.template to
app/config/config.local.neon
and configure it properly:database
for database connectiongithubAPI
for GitHub API token - generate one here with public access
- run
composer install
- run
bower install
- run
bin/console orm:schema-tool:create
to create database schema - run
bin/console dbal:import fixtures.sql
to import default projects and repositories
Synchronization
During the synchronization process, all commits from all repositories are being synchronized.
You can run the synchronization either via console command
./bin/console synchronize
or via HTTP GET request
GET http://yourhost.com/synchronize.php
You can set this as a CRON job to run every 5 minutes.
To prevent running the synchronization multiple time at once, Symfony Lock component is used.