Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 077d280

Browse files
author
Alexander Paliarush
committed
Fixed styles in readme
1 parent 544de35 commit 077d280

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ If you never used Vagrant before, read [Vagrant Docs](https://docs.vagrantup.com
2727

2828
1. Run in command line from the directory which contains your projects:
2929

30+
:information_source: To have 'composer install' here work faster, remove 'prefer-source' option and follow the instructions provided in [Gighub limitations section](README.md#github-limitations)
31+
3032
```
3133
git clone git@github.com:paliarush/vagrant-magento.git vagrant-magento
3234
git clone git@github.com:magento/magento2.git magento2ce

docs/phpstorm-configuration.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,37 @@ This solution is applicable to any Vagrant configuration for Magento instance, s
1111
config.vm.synced_folder '../magento2ce/app/etc', '/var/www/magento2/app/etc'
1212
end
1313
```
14+
1415
1. Open your project on host machine in PHPStorm and set up deployment configuration, which will upload to the guest machine everything except for those folders which are synchronized by Vagrant. :information_source: Note that rsync can be used instead of PHP Storm deployment.
1516
1. Go to Tools -> Deployment -> Configuration
17+
1618
![](images/deployment-configuration.png)
19+
1720
1. Add new SFTP server and mark it as default when added (using button in top left corner)
21+
1822
![](images/new-sftp-server.png)
23+
1924
1. Fill out connection settings using the information taken from vagrant ssh config
2025
- Go to the 'vagrant-magento' directory (contains your vagrant project) in console and execute 'vagrant ssh-config'
26+
2127
![](images/ssh-config.png)
28+
2229
- Use private key Auth type instead of password
30+
2331
![](images/private-key-auth-type.png)
32+
2433
1. Set up mapping between your local and remote versions of the project, for remote project use '/var/www/magento2'
34+
2535
![](images/projects-mapping.png)
36+
2637
1. Add remote paths excluded from synchronization by PHPStorm. You should add those paths which are specified in Vagrant config for synchronization.
38+
2739
![](images/exclude-paths-from-mapping.png)
40+
2841
1. Go to Tools -> Deployment -> Options... and enable automatic upload to default server and check "Upload external changes"
29-
![](images/automatic-upload.png)
42+
43+
![](images/automatic-upload.png)
44+
3045
1. Upload Magento code base to the virtual machine from the host machine using context menu on the root of the project in PHPStorm
31-
![](images/upload-magento-codebase.png)
46+
47+
![](images/upload-magento-codebase.png)

0 commit comments

Comments
 (0)