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 Oct 1, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ If you never used Vagrant before, read [Vagrant Docs](https://docs.vagrantup.com
27
27
28
28
1. Run in command line from the directory which contains your projects:
29
29
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)
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.
15
16
1. Go to Tools -> Deployment -> Configuration
17
+
16
18

19
+
17
20
1. Add new SFTP server and mark it as default when added (using button in top left corner)
21
+
18
22

23
+
19
24
1. Fill out connection settings using the information taken from vagrant ssh config
20
25
- Go to the 'vagrant-magento' directory (contains your vagrant project) in console and execute 'vagrant ssh-config'
26
+
21
27

28
+
22
29
- Use private key Auth type instead of password
30
+
23
31

32
+
24
33
1. Set up mapping between your local and remote versions of the project, for remote project use '/var/www/magento2'
34
+
25
35

36
+
26
37
1. Add remote paths excluded from synchronization by PHPStorm. You should add those paths which are specified in Vagrant config for synchronization.
38
+
27
39

40
+
28
41
1. Go to Tools -> Deployment -> Options... and enable automatic upload to default server and check "Upload external changes"
29
-

42
+
43
+

44
+
30
45
1. Upload Magento code base to the virtual machine from the host machine using context menu on the root of the project in PHPStorm
0 commit comments