Skip to content

Commit bbf0850

Browse files
author
Alexander Paliarush
committed
New release
1 parent e3546cb commit bbf0850

File tree

4 files changed

+33
-20
lines changed

4 files changed

+33
-20
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,20 @@ All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

66
* [\[Unreleased\]](#unreleased)
7+
* [\[v2.1.0\] - 2016-06-22](#v210---2016-06-22)
78
* [\[v2.0.0\] - 2016-02-05](#v200---2016-02-05)
89
* [\[v1.0.0\] - 2016-01-11](#v100---2016-01-11)
910

1011
## [Unreleased]
1112

13+
### Changed
14+
15+
### Fixed
16+
17+
### Added
18+
19+
## [v2.1.0] - 2016-06-22
20+
1221
### Changed
1322

1423
- Removed requirement for public github token due to Composer limitations (issue is fixed on Composer side)

README.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* [Installation steps](#installation-steps)
1111
* [Default credentials and settings](#default-credentials-and-settings)
1212
* [Getting updates and fixes](#getting-updates-and-fixes)
13-
* [Troubleshooting](#troubleshooting)
1413
* [Day-to-day development scenarios](#day-to-day-development-scenarios)
1514
* [Reinstall Magento](#reinstall-magento)
1615
* [Clear Magento cache](#clear-magento-cache)
@@ -21,10 +20,12 @@
2120
* [Connecting to MySQL DB](#connecting-to-mysql-db)
2221
* [View emails sent by Magento](#view-emails-sent-by-magento)
2322
* [Accessing PHP and other config files](#accessing-php-and-other-config-files)
23+
* [Multiple Magento instances](#multiple-magento-instances)
24+
* [Environment configuration](#environment-configuration)
2425
* [Switch between PHP 5.6 and 7.0](#switch-between-php-56-and-70)
2526
* [Activating Varnish](#activating-varnish)
26-
* [Multiple Magento instances](#multiple-magento-instances)
2727
* [Reset environment](#reset-environment)
28+
* [FAQ](#faq)
2829

2930
## What You get
3031

@@ -39,7 +40,7 @@ It is easy to [install multiple Magento instances](#multiple-magento-instances)
3940
[Project initialization script](init_project.sh) configures complete development environment:
4041

4142
1. Adds some missing software on the host
42-
1. Configures all software necessary for Magento 2 using [custom Ubuntu vagrant box](https://atlas.hashicorp.com/paliarush/boxes/magento2.ubuntu) (Apache 2.4, PHP 7.0 (or 5.5.9), MySQL 5.6, Git, Composer, XDebug, Rabbit MQ, Varnish)
43+
1. Configures all software necessary for Magento 2 using [custom Ubuntu vagrant box](https://atlas.hashicorp.com/paliarush/boxes/magento2.ubuntu) (Apache 2.4, PHP 7.0 (or 5.6), MySQL 5.6, Git, Composer, XDebug, Rabbit MQ, Varnish)
4344
1. Installs Magento 2
4445
1. Configures PHP Storm project (partially at the moment)
4546

@@ -68,7 +69,7 @@ Software listed below should be available in [PATH](https://en.wikipedia.org/wik
6869

6970
### Installation steps
7071

71-
:information_source: In case of any issues during installation, please read [troubleshooting section](#troubleshooting)
72+
:information_source: In case of any issues during installation, please read [FAQ section](#faq)
7273

7374
1. Open terminal and change directory to the one which you want to contain Magento project. ![](docs/images/windows-icon.png) On Windows use Git Bash, which is available after Git installation
7475

@@ -129,16 +130,6 @@ Current vagrant project follows [semantic versioning](http://semver.org/spec/v2.
129130
For example your current branch is `2.0`, then it will be safe to pull any changes from `origin/2.0`. However branch `3.0` will contain changes backward incompatible with `2.0`.
130131
Note, that semantic versioning is only used for `x.0` branches (not for `develop`).
131132

132-
### Troubleshooting
133-
134-
1. ![](docs/images/linux-icon.png)![](docs/images/osx-icon.png) On OSX and \*nix hosts NFS will be used by default to sync your project files with guest. On some hosts Vagrant cannot configure NFS properly, in this case it is possible to deploy project without NFS by setting `use_nfs` option in [config.yaml](etc/config.yaml.dist) to `0` <br />
135-
1. ![](docs/images/windows-icon.png) On Windows hosts you might face `Composer Install Error: ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)` exception during `composer install`. This can be fixed in 2 ways: decrease path length to the project directory or set `composer_prefer_source` option in [config.yaml](etc/config.yaml.dist) to `1`
136-
1. Make sure that you used `vagrant-magento` directory as project root in PHP Storm (not `vagrant-magento/magento2ce`)
137-
1. If project opened in PhpStorm looks broken, close PhpStorm and remove `vagrant-magento/.idea`. After opening project in PhpStorm again everything should look good
138-
1. If code is not synchronized properly on Windows hosts (or when NFS mode is disabled in [config.yaml](etc/config.yaml.dist) explicitly), make sure that PhpStorm is running before making any changes in the code. This is important because otherwise PhpStorm will not be able to detect changes and upload them to the guest machine
139-
1. Please make sure that currently installed software, specified in [requirements section](#requirements), meets minimum version requirement
140-
1. If MySQL fails to start and Magento reinstallation fails with `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)`, try to run login to virtual machine using `vagrant ssh` and then run `sudo dpkg-reconfigure mysql-server-5.6`, then `sudo service mysql restart.`
141-
142133
## Day-to-day development scenarios
143134

144135
### Reinstall Magento
@@ -230,6 +221,13 @@ Do not edit any symlinks using PhpStorm because it may break your installation.
230221

231222
After editing configs in IDE it is still required to restart related services manually.
232223

224+
### Multiple Magento instances
225+
226+
To install several Magento instances based on different code bases, just follow [Installation steps](#installation-steps) to initialize project in another directory on the host.
227+
Unique IP address, SSH port and domain name will be generated for each new instance if not specified manually in `etc/config.yaml`
228+
229+
## Environment configuration
230+
233231
### Switch between PHP 5.6 and 7.0
234232

235233
Set "use_php7: 1" for PHP7 and "use_php7: 0" for PHP5.6 in [config.yaml](etc/config.yaml.dist).
@@ -244,11 +242,6 @@ Varnish Version: 3.0.5
244242

245243
Note: command m-varnish with arguments disable or enable is also available in guest or host to enable or disable varnish without reloading machine.
246244

247-
### Multiple Magento instances
248-
249-
To install several Magento instances based on different code bases, just follow [Installation steps](#installation-steps) to initialize project in another directory on the host.
250-
Unique IP address, SSH port and domain name will be generated for each new instance if not specified manually in `etc/config.yaml`
251-
252245
### Reset environment
253246

254247
It is possible to reset project environment to default state, which you usually get just after project initialization. The following command will delete vagrant box and vagrant project settings. After that it will initialize project from scratch. Magento 2 code base (`magento2ce` directory) and [etc/config.yaml](etc/config.yaml.dist) and PhpStorm settings will stay untouched, but guest config files (located in [etc/guest](etc/guest)) will be cleared.
@@ -276,3 +269,14 @@ Ultimate project reset can be achieved by combining all available flags:
276269
```
277270
bash init_project.sh -fcp
278271
```
272+
273+
### FAQ
274+
275+
1. Is Windows 10 supported? Yes, but you may face the same issue as described [here](https://github.com/paliarush/magento2-vagrant-for-developers/issues/36)
276+
1. ![](docs/images/linux-icon.png)![](docs/images/osx-icon.png) On OSX and \*nix hosts NFS will be used by default to sync your project files with guest. On some hosts Vagrant cannot configure NFS properly, in this case it is possible to deploy project without NFS by setting `use_nfs` option in [config.yaml](etc/config.yaml.dist) to `0` <br />
277+
1. ![](docs/images/windows-icon.png) On Windows hosts you might face `Composer Install Error: ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)` exception during `composer install`. This can be fixed in 2 ways: decrease path length to the project directory or set `composer_prefer_source` option in [config.yaml](etc/config.yaml.dist) to `1`
278+
1. Make sure that you used `vagrant-magento` directory as project root in PHP Storm (not `vagrant-magento/magento2ce`)
279+
1. If project opened in PhpStorm looks broken, close PhpStorm and remove `vagrant-magento/.idea`. After opening project in PhpStorm again everything should look good
280+
1. If code is not synchronized properly on Windows hosts (or when NFS mode is disabled in [config.yaml](etc/config.yaml.dist) explicitly), make sure that PhpStorm is running before making any changes in the code. This is important because otherwise PhpStorm will not be able to detect changes and upload them to the guest machine
281+
1. Please make sure that currently installed software, specified in [requirements section](#requirements), meets minimum version requirement
282+
1. If MySQL fails to start and Magento reinstallation fails with `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)`, try to run login to virtual machine using `vagrant ssh` and then run `sudo dpkg-reconfigure mysql-server-5.6`, then `sudo service mysql restart.`

docs/images/release_badge.png

-107 Bytes
Loading

docs/images/release_badge.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)