You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Through the use of the /tmp/apt_update_run flag on the guest, we avoid running apt-get update on every up, reload or provision. It is only run on the initial up and after a destroy.
We should consider doing this for all packages, as this will lower the start up time even more and avoid sudden (albeit unlikely) changes to the dev environment during a normal work day.
It may even be worth wrapping almost the entire provisioning file in a check so only some local project stuff is modified.
Going to play with it throughout the week, may add it to the develop branch early so we can see how it feels.
The text was updated successfully, but these errors were encountered:
Creates a /home/vagrant/initial_provision_run file to track once provisioning has been run on a box for the first time. If this file exists, all apt and composer packages are skipped. Only file linking and WordPress management remains.
If the box is ever destroyed, this flag will be deleted and provisioning will run on the next boot.
See #40
Through the use of the
/tmp/apt_update_run
flag on the guest, we avoid runningapt-get update
on every up, reload or provision. It is only run on the initial up and after a destroy.We should consider doing this for all packages, as this will lower the start up time even more and avoid sudden (albeit unlikely) changes to the dev environment during a normal work day.
It may even be worth wrapping almost the entire provisioning file in a check so only some local project stuff is modified.
Going to play with it throughout the week, may add it to the develop branch early so we can see how it feels.
The text was updated successfully, but these errors were encountered: