Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
104 stars 53 forks source link

Skip asking the "Pull production database?" question if config.yml says #99

Closed ottok closed 5 years ago

ottok commented 5 years ago

Ïf config.yml includes

development: pull_production_db: always

or

development: pull_production_db: never

The question during 'vagrant up' will be omitted and database pull is done according to the value 'alway' or 'never' in config.yml

ottok commented 5 years ago

Thanks @TeemuSuoranta for the idea!

TeemuSuoranta commented 5 years ago

Looks good. The other questions on vagrant up might not be worth automating as they mostly appear on first time (trust certificate, create .git). Beign able to skip typing the password for the hosts file changes would be nice, but not really possible without running vagrant up as sudo and at least Mac doesn't like that virtual box is created (like sudo vagrant up) and used by a different user.