10. What should be moved to code?
- Entity types & fields
- Panels and pages
- Roles & Permissions
- Variables
- Initial content (nodes, taxonomy terms, etc)
Use just the exportable friendly modules
- Views
- Image styles
- Text formats
- Rules
11. How to use Features module
MANUALS
- Bundling site settings using Features https://goo.gl/aijPJT
- Configuration Management with Features http://goo.gl/gat3X7
VIDEO TUTORIALS
- Intorduction to Features module https://goo.gl/Jr13O5
- Drupal Features Module https://goo.gl/OQ69TW
- Strongarm module https://goo.gl/z519Wz
14. INITIAL STEPS
- drush dl drupal
- copy/paste minimal -> custom
- add base set of modules
BUILD
drush site-install custom Integration
environment
Local
environment
Profile based way
15. pre install actions
- git pull
- delete content file and caches
drop db
drush site install
post install actions
- upload translations
- import content
- frontend build processes
Profile build script
building process
building process
18. pre update actions
- git pull
drop current db
upload db from prod
drush updb
post update actions
- registry rebuild
- frontend processes
- clear cache
SQL build script
prod_db.sql
building process
building process
22. Code review inside the team
Developers do code review for each other
- Use common approaches for features
- Knowledge exchange inside the team
- Better quality of code
- Increase responsibility for review code
23. DB manage approach
Use always latest prod db
Preparing prod db for use in development
Daily db backup script from prod
All enviroments should use sinle DB