mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 17:23:58 +02:00
introduce virtualization section
This commit is contained in:
14
_posts/13-01-01-Virtualization.md
Normal file
14
_posts/13-01-01-Virtualization.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
anchor: virtualization
|
||||
---
|
||||
|
||||
# Virtualization
|
||||
|
||||
Running your application on different environments in development and production can lead to strange bugs
|
||||
popping up when you go live. It's also tricky to keep different development environments up to date with the same
|
||||
version for all libraries used when working with a team of developers.
|
||||
|
||||
If you are developing on Windows and deploying to Linux (or anything non-Windows) or are developing in a team, you
|
||||
should consider using a virtual machine.
|
||||
This sounds tricky, but beside the widely known virtualization environments like VMware or VirtualBox, there are
|
||||
additional tools that may help you setting up a virtual environment in a vew easy steps.
|
@@ -5,13 +5,9 @@ anchor: vagrant
|
||||
|
||||
## Vagrant {#vagrant_title}
|
||||
|
||||
Running your application on different environments in development and production can lead to strange bugs
|
||||
popping up when you go live. It's also tricky to keep different development environments up to date with the same
|
||||
version for all libraries used when working with a team of developers.
|
||||
|
||||
If you are developing on Windows and deploying to Linux (or anything non-Windows) or are developing in a team, you
|
||||
should consider using a virtual machine. This sounds tricky, but by using [Vagrant][vagrant] you can set up a simple
|
||||
virtual machine with only a few steps. These base boxes can then be set up manually, or you can use "provisioning"
|
||||
[Vagrant][vagrant] helps you building your virtual boxes on top of the known virtual environments and will configure
|
||||
these environments based on a single configuration file.
|
||||
These boxes can be set up manually, or you can use "provisioning"
|
||||
software such as [Puppet][puppet] or [Chef][chef] to do this for you. Provisioning the base box is a great way to
|
||||
ensure that multiple boxes are set up in an identical fashion and removes the need for you to maintain complicated
|
||||
"set up" command lists. You can also "destroy" your base box and recreate it without many manual steps, making it
|
Reference in New Issue
Block a user