The world of PHP is very interesting right now and it has been catching up on best coding practices. It's time we bring our deploy processes up to par with this and start using best practices for it as well. So what are the goals for it and which steps can be taken to reach them? How can we make the process fit better into the more and more Agile world we live in?
2. WHO AM I?
@niklasmodess
codingswag.com
Freelance /consultantweb architect
Developed and deployed PHP applications for 10+ years
Currentlydevelopingmostlyin Laravel
Co-organizer of the meetup group LaravelStockholm
17. QUESTIONS
Do we have separate environments?
Are theyrepeatable/provisioned?
Do we have abranchingstrategyfor our version control?
Stagingas closetoproductionas possible?
21. THE STORY ABOUT AN APPLICATION
.. come up with an idea
.. do some wireframes
.. code, code, code
.. celebrate finishingcode
.. shit, we have to deployit
.. well, doit quicklythen
22. The deploymentprocess is almostalways
AD HOC
Areaction to your applications state
"Ducttape deployment""
31. WHAT COULD IT TAKE CARE OF?
Runningtests
Database migrations
Cache bust&warm up
Dependencies
Static assets/contents
Generate documentation
Restartservices
Restartqueues /workers
Symlink folders
... any tool with acli or api