Modern useful #nette addons portal.
- PHP >= 5.6.0 (prefer ^7.0)
- Nette packages (prefer ^2.4)
- PHP + Composer + NodeJS
- WebServer (Nginx / Apache)
- MariaDB / MySQL
- Docker [optionally]
This portal is running in isolated Docker container(s). You can see configurations in dockerfiles repository.
- Clone this repo (
git@github.com:componette/componette.com.git
). - Rename
app/config/config.local.sample
toconfig.local.neon
and fill parameters (database, github token, etc). - Run
composer install
. - Run migration via
bin/console migrations:continue
or manually in browser<project>/migrations/run.php
and follow steps.
- Run
npm install
- Run
gulp deploy
(it compiles once all JS/CSS files)
For developing you can use gulp watch
, it's monitor every CSS and JS files in <project>/www/assets
.
I very appreciate you contributing work, these tools keep on eye and help me to keep a high code standard.
This project has a few tasks you should fired before you prepare PR.
-
Linter - checks PHP syntax errors
bin/linter
-
CodeSniffer - checks codestyle
bin/codesniffer
-
Tests - checks code integrity
bin/tester