- Download Node.js
- Download Gulp and Bower via npm globally so that they can be accessible in command line
- Install EditorConfig plugin to your IDE
- Clone repository
- Copy file
PROJECT_ROOT/app/config/config.local.neon.example
asPROJECT_ROOT/app/config/config.local.neon
- Change properties in
PROJECT_ROOT/app/config/config.local.neon
to your local server - Go to root of the project and run
$ composer install
- Install Node.JS dependencies and modules by
$ npm install
- Install Gulp and Bower dependencies and modules by
$ npm run build
- To compile source files run Gulp
$ gulp --no-watch
- Copy file
PROJECT_ROOT/bs-config.json.example
asPROJECT_ROOT/bs-config.json
- Change settings for BrowserSync to correspond your server
- To automatic Gulp watch task run
$ gulp
only
Sprites, image minification Stylesheets, SASS JavaScript Versioning of web sources
There are some coding standars that should be followed. There are described CS for each language and how it is tested: Coding standards, settings
- Edit file
PROJECT_ROOT/bower.json
on root of the project - Find section
overrides
->bootstrap-sass
->main
- Add someone CSS or JavaScript of Bootstrap components into list
Important note: Never edit wiredep
in file PROJECT_ROOT/bower.json
!
- CLI Doctrine tool use
PROJECT_ROOT/app/cli-config.php
- ER diagrams and clean database structure as SQL queries are stored in
PROJECT_ROOT/documentations/database
- Modify ERD via Navicat
- Save modified file to
PROJECT_ROOT/documentations/database
too - Run command line, change directory to
PROJECT_ROOT/app
and run command$ ../vendor/bin/doctrine orm:convert:mapping annotation ./ --from-database
Tip: use parameter--filter="entity_name"
and change destination path for better location of each entity - Fix namespace of entity, add getters and setters
- For detailed help run
$ ../vendor/bin/doctrine orm:convert:mapping --help