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
{{ message }}
This repository was archived by the owner on May 7, 2025. It is now read-only.
- Automatically routes *.local.zivtech.com to the vm.
15
-
-[Mailhog](https://github.com/mailhog/MailHog) allows viewing of local mail at [http://mailhog.local.zivtech.com:8025](http://mailhog.local.zivtech.com:8025/)
16
+
-[Drush](https://github.com/drush-ops/drush) allows for management of sites through command line.
of installing that plugin or cloning the repository from source. Then you can cd into
48
-
the directory and run vagrant up as normal.
64
+
Run `vagrant ssh` to get into your Dev VM.
49
65
50
-
## Customizing this VM <aname="customizing"></a>
66
+
Create a new Drupal site by running `drush fetcher-create yoursite`.
67
+
Add the version of drupal as a second argument if you want a site other
68
+
than the current version of Drupal.
51
69
52
-
Once this repository have been downloaded, running "vagrant up" from within this
53
-
directory will build the virtual server and provision it. Two different categories
70
+
````bash
71
+
drush fetcher-create yoursite 7
72
+
````
73
+
74
+
## Customizing this VM
75
+
76
+
Once you have followed the [Installation](#installation) steps, running `vagrant up` from within this
77
+
clone repository will build the virtual server and provision it. Two different categories
54
78
of customizations can be performed on the dev vm. First there are vagrant settings
55
79
such as Ubuntu version, local IP address, amount of RAM,
56
80
hostname, etc. The second are tunables in the virtual server configuration.
@@ -62,9 +86,11 @@ a new file called `config.yaml` where you can define any value listed below
62
86
(see [default.config.yaml](https://github.com/zivtech/vagrant-development-vm/blob/master/default.config.yaml)
63
87
for formatting options.
64
88
65
-
-*hostname*: The hostname that gets set inside the VM. Defaults to `vm`.
89
+
-*hostname*: The hostname that gets set inside the VM. Defaults to `local.zivtech.com`.
90
+
(Apache Virtual Hosts are available at *.local.zivtech.com.)
66
91
-*private_ipv4*: The private IP to provision for this host. Defaults to `172.16.0.2`.
67
-
-*box*:The base box to use to build the puppet work on top of. Defaults to `zivtech/ubuntu-16.04-server-puppet-4`
92
+
-*box*:The base box to use to build the puppet work on top of.
93
+
Defaults to `zivtech/ubuntu-16.04-server-puppet-4`
68
94
-*memory*: The amount of memory (in megabytes) to provision. Defaults to `2048`.
69
95
-*sync_folder*: Set this to false in order to not mount the www folder in this
70
96
directory *inside*`/var/www` on the VM. Defaults to true.
@@ -85,16 +111,22 @@ overrides needed by this project or settings listed there for your easy referenc
85
111
tuning the VM.
86
112
87
113
#### Fetcher Server Configuration
88
-
If you use a Fetcher Server, set its url as 'info_fetcher.config' 'host' in your hiera/custom.yaml file. See hiera/common.yaml.
114
+
If you use a [Fetcher Services](https://www.drupal.org/project/fetcher_services) server,
115
+
set it's url as `'info_fetcher.config' 'host'` in your hiera/custom.yaml file.
116
+
See [hiera/common.yaml](https://github.com/zivtech/vagrant-development-vm/blob/master/hiera/common.yaml).
89
117
90
118
## Common Issues
91
119
92
120
On non-windows host systems, Vagrant tries to mount a shared NFS directory to the host
93
121
machine (the physical computer). This has been known to fail in some cases. If you
94
-
receive errors about a failed mount remove the virtual machine with "vagrant destroy"
122
+
receive errors about a failed mount remove the virtual machine with `vagrant destroy`
95
123
then create or edit a `config.yaml` file in the root of this project and add the
96
124
following line:
97
125
98
126
````yaml
99
127
sync_folder: false
100
128
````
129
+
130
+
## Reporting Issues
131
+
132
+
[Zivtech](https://www.zivtech.com/) uses this project actively to develop websites and web applications. Found an issue? Please search the [issue queue](https://github.com/zivtech/vagrant-development-vm/issues) and report it. [Pull Requests](https://github.com/zivtech/vagrant-development-vm/pulls) are welcome.
0 commit comments