Download - Improve your workflow
Improve your workflowdevelopment, continuous integration, deployment
Adam Štipák | @new_POPE | [email protected]
Who I am?
● full stack developer (since 2006)● Sven Creative● Sygic● Diagnose.me● and other “secret” projects
What is the problem?
Manual workis so slooow!
Solution?!
automate!
automate!!
automate!!!
Nice! But when? Where? How?
● as soon as possible
● as much as possible
● from save source code up to production
1. development
Install a project
2 (3) commands (git clone, install, run)
or use
Save the source code
Editors have an autosave.
PHPStorm
Task runners
play for YOU!
“auto refresh”
“Time-saving synchronised browser testing.”http://www.browsersync.io/
Conclusion
1. save the code
2. do work
3. autorefresh
4. profit!
2. continuous integration
Team player
repeat, repeat, repeat ...
Builds
“deployable package”
Build process
1. on every push to repository (every branch)2. static code analysis3. install dependencies (libs, packages)4. setup DB (migrations)5. process assets (JS, CSS, images)6. run tests7. publish results
Process assets
Run tests
Publish build result
3. deployments
Simple, simple, simple
best deployment = automatic deployment
Friday is a weekday, not “no deployment” day
Deployment is not the end...
Monitor it...
Monitoring
Conclusion
Tools are here.So use it.
Thanks
Adam Štipák | @new_POPE | [email protected]