Vagrant define path to website dir -
first, sorry stupid question, because i'm pretty new in vagrant , linux.
i'm trying separate vagrantfile , website project directory.
so have next directories structure:
d:\vagrant machines\domain.com vagrantfile install.sh domains\domain.com app\code.php web\index.php
i want run vagrant dir d:\vagrant\machines\domain.com , virtual machine d:\vagrant\domains\domain.com home , d:\vagrant\domains\domain.com\web publick_html dir.
how can that? help!
you can add sync folder can add in vagrantfile
config.vm.synced_folder "d:\\vagrant\\domains\\domain.com\\web", "<path deploy files in vm>"
note : not using windows not sure how path should set in file try \\
or forward slash d:/vagrant/....
Comments
Post a Comment