@@ -45,7 +45,12 @@ If you never used Vagrant before, read [Vagrant Docs](https://docs.vagrantup.com
45
45
cd vagrant-magento
46
46
vagrant up
47
47
```
48
- 1. At some point you will be prompted to [set up synchronization with PHP Storm](docs/phpstorm-configuration.md)
48
+ 1. Add corresponding record to your `hosts` file on the host machine:
49
+
50
+ ```
51
+ 192.168.10.11 magento2.vagrant
52
+ ```
53
+ 1. After the installation is complete, [set up synchronization with PHP Storm](docs/phpstorm-configuration.md)
49
54
50
55
###To reinstall Magento
51
56
To save some time and get clear Magento installation, you can skip installation of software like web server or php.
@@ -59,50 +64,21 @@ vagrant provision --provision-with install_magento
59
64
60
65
### After installation
61
66
62
- Upon a successful installation, you'll see the location and URL of the newly-installed Magento 2 application:
63
- ```
64
- Magento application was deployed in /var/www/magento2ce and installed
65
- Access front store at http://${HOST}/
66
- Access admin panel at http://${HOST}/${admin_frontame}/
67
- ```
68
-
69
- `/var/www/magento2ce` is a path to your Magento installation on the VM.
67
+ Upon a successful installation, you'll see the location and URL of the newly-installed Magento 2 application in console.
68
+ See a list of [default credentials and settings](README.md#default-credentials) below.
70
69
71
- ### Default credentials
72
-
73
- ```
74
- db host: localhost (not accessible remotely)
75
- db user/password: magento/magento
76
- db name: magento
70
+ ### Default credentials and settings
77
71
78
- also available db user/password: root/password
72
+ Web access:
73
+ - Access storefront at `http://magento2.vagrant`
74
+ - Access admin panel at `http://magento2.vagrant/admin/`
75
+ - Magento admin user/password: `admin/123123q`
79
76
80
- Magento admin user/password: admin/123123q
81
- ```
82
-
83
- ### Hostname
84
-
85
- The hostname of the Magento application is derived from hostname of the VM defined in the `Vagrantfile`:
86
- ```
87
- config.vm.hostname = "magento2.vagrant"
88
- ```
89
-
90
- Change this value in the `Vagrantfile` if you want to use different hostname.
91
-
92
- If Vagrant can't determine hostname of the VM for some reason, it will use its IP address (also specified in `Vagrantfile`).
93
-
94
- Also make sure you update your system `hosts` file with a record that links the IP address and hostname of the VM.
95
- For the following `Vagrantfile`
96
- ```
97
- ...
98
- config.vm.network : private_network , ip: '192.168.10.11'
99
- config.vm.hostname = "magento2.vagrant"
100
- ...
101
- ```
102
- Specify the following in your `hosts` file:
103
- ```
104
- 192.168.10.11 magento2.vagrant
105
- ```
77
+ Codebase and DB access:
78
+ - Path to your Magento installation on the VM: `/var/www/magento2ce`
79
+ - MySQL DB host: `localhost` (not accessible remotely)
80
+ - MySQL DB name: `magento`
81
+ - MySQL DB user/password: `magento/magento`. Alternatively `root/password`
106
82
107
83
### GitHub Limitations
108
84
0 commit comments