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
The goal of this project is to create an easy to use, reliable development environment.
5
7
This was built as a MAMP/WAMP replacement, meeting the requirements of Magento 1 & 2
@@ -24,38 +26,54 @@ specifically.
24
26
# Run Vagrant Up to download and setup the VM
25
27
vagrant up
26
28
27
-
###Configuration
29
+
###Configuration
28
30
- Guest Host Entries:
29
31
- Add host entries to files/hosts.txt to have them added to Guest machine on provisioning
30
32
- config.yml settings
31
-
- vagrant_hostname: Hostname on Guest VM `OPTIONAL - can leave default demacvm.dev`
32
-
- vagrant_machine_name: Vagrant Machine Name, used for creating unique VM `OPTIONAL - can leave default demacvm`
33
-
- vagrant_ip: IP addressed used to access Guest VM from Local machine `OPTIONAL - can leave default 192.168.33.10`
34
-
- vagrant_public_ip: Public IP address of VM `OPTIONAL - recommended leave defualt empty`
33
+
- vagrant_hostname: Hostname on Guest VM
34
+
OPTIONAL - can leave default `demacvm.dev`
35
+
- vagrant_machine_name: Vagrant Machine Name, used for creating unique VM
36
+
OPTIONAL - can leave default `demacvm`
37
+
- vagrant_ip: IP addressed used to access Guest VM from Local machine
38
+
OPTIONAL - can leave default `192.168.33.10`
39
+
- vagrant_public_ip: Public IP address of VM
40
+
OPTIONAL - recommended leave defualt `empty`
35
41
- vagrant_synced_folders: Shared Folders from HOST machine to Guest
36
42
- local_path: Path on Host machine to share
37
43
- destination: Path on Guest machine to mount share
38
-
- type: Share Type \[[nfs](https://www.vagrantup.com/docs/synced-folders/nfs.html)|[smb](https://www.vagrantup.com/docs/synced-folders/smb.html)|[rsync](https://www.vagrantup.com/docs/synced-folders/rsync.html)\]`OPTIONAL - recommended leave defualt empty`
39
-
- create: Create directory on HOST machine if it doesn't exist `OPTIONAL - recommended leave defualt true`
44
+
- type: Share Type \[[nfs](https://www.vagrantup.com/docs/synced-folders/nfs.html)|[smb](https://www.vagrantup.com/docs/synced-folders/smb.html)|[rsync](https://www.vagrantup.com/docs/synced-folders/rsync.html)\]
45
+
OPTIONAL - recommended leave default as empty. Mac OS users may use nfs but not recommended for the mysql share as nfs bind may run out of connections
46
+
- create: Create directory on HOST machine if it doesn't exist
47
+
OPTIONAL - recommended leave default `true`
40
48
```
41
-
#Example of Multiple Shared Folders
49
+
#Example of Multiple Shared Folders
42
50
vagrant_synced_folders:
43
-
- local_path: ~/Sites/projects_directory
51
+
- local_path: ~/projects/www
44
52
destination: /srv/www
45
-
type:
53
+
type: nfs
46
54
create: true
47
-
- local_path: ~/Sites/projects_directory2
48
-
destination: /srv/www2
55
+
56
+
- local_path: ~/projects/mysql
57
+
destination: /srv/mysql
49
58
type:
50
59
create: true
60
+
owner: 500 # mysql user not created yet, but will have this id when the box is provisioned
61
+
group: 500 # mysql group not created yet, but will have this id when the box is provisioned
62
+
63
+
- local_path: ~/projects/backup
64
+
destination: /srv/backup
65
+
type: nfs
66
+
create: true
51
67
```
52
-
- vagrant_memory: Memory to assign to VM `OPTIONAL - can leave default 2048, recommended 3096`
53
-
- vagrant_cpus: CPU Cores to assign to VM `OPTIONAL - can leave default 2`
68
+
- vagrant_memory: Memory to assign to VM
69
+
OPTIONAL - can leave default `2048`, recommended `4096` or more for M2 projects
- Added SSL support for `vhost` function (was on a separate branch)
111
+
- 1.0.2 (2018-01-16)
112
+
- Major refactoring to allow php versions, users and groups to be configured much more easily
113
+
- PHP 7.0.8 replaces PHP 7.0.6 and freeType support added for all PHP versions
114
+
- Added two new mandatory external shares /srv/backup and /srv/mysql used for backups and live mysql databases
115
+
- Mysql databases now live on host machine and so can survive a `vagrant destroy` / `vagrant up` cycle
116
+
- Added `vhelp` command with user help
117
+
- Added `vstatus` command to show memory and disk use and availablity of key services
118
+
- Added `xdebug` command for simple enabling / disabling of XDebug in all installed PHP instances added
119
+
- Added `backypMysql` / `restoreMysql` for easy backup / restore of all mysql databases and users to the external /srv/backup mount
120
+
- Added `backupWebconfig` / `restoreWebconfig` for easy backup / restore of all newly added vhosts and associated SSL certificates
121
+
- Added `phpRestart` to restart all installed php FPM services in a single operation
122
+
- 1.0.3 (2018-01-18)
123
+
- Added n98-magerun2 and simple alias `n98` that automatically selects correct version of n98 for the instance in question
124
+
- 1.0.4 (2018-01-22)
125
+
- Changes to `vhost` command to allow it to support multiple aliases in a single operation
126
+
- Changes to `vhost` command to add -f (force) flag that can bypass confirmation messages
127
+
- Provisioner script now identifies and upgrades all existing legacy vhost configurations to support SSL and be backed up by the `backupWebconfig` command
0 commit comments