-
-
Notifications
You must be signed in to change notification settings - Fork 12
CONTRIBUTING
Milan Felix Šulc edited this page Oct 18, 2016
·
3 revisions
- Clone this repo (
[email protected]:componette/componette.com.git
) - Rename
app/config/config.local.sample
toconfig.local.neon
and fill parameters - Create database and setup tables (and fixtures)
- Run
composer install
- Run
npm install
- Run
gulp deploy
For developing you can use gulp watch
, it's monitor every CSS and JS files in www/assets
.
Make sure there are any PHP errors / warnings.
- Run
vendor/bin/parallel-lint app tests
- Run
bin/linter
Make sure you are not break a coding standards.
- Run
vendor/bin/phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 -nsp app tests
- Run
bin/codesniffer
Make sure you are not break a consistency.
- Run
vendor/bin/tester tests/cases -s -p php
- Run
bin/tester