The goal is to reduce the overhead of a portal developer and QA working on PC. Vagrant is a great start in that direction. I suggest the following changes:
- Everything in git must be in Vagrant.
.env
is the only place where we should see local changes. No overrides for any other file. - Files must sync between the host and the vm automatically. This applies to deleted files as well.
- Must work in dev and test mode so tests can be run easily.
- Env vars for paths must be set on login so that custom PC specific variables are preconfigured. e.g.
LD_LIBRARY_PATH
,PKG_CONFIG_PATH
. - By default, the portal in vagrant needs to run in development mode instead of production.
- On-demand QA deploy is needed so that QA can quickly verify dev fixes without having to wait for a periodic deploy.
- Automated clock sync between the VM and host machine so that Cookies don't expire because the VM has a time lag.