vagrant-phpstorm-tunnel 0.0.7 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/vagrant-phpstorm-tunnel.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c2858a3d190e36132fc0af19da69f66e42a9625
|
|
4
|
+
data.tar.gz: 2bc634ddfd36aab4b45f29872db3534f9ee59e0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13b95d3305a0205d7ce798344d368621afe3bd8eea757fa4683baf7c7973e1c1c644d1187f579b3fa694ac8dce024ec24ba4319e399decc6357ecdedd5c0976a
|
|
7
|
+
data.tar.gz: e28327ebf19ad3700dd4567633cc26270d88549c274f7ad6996a91ed4f845f2dca1b7a038a7e7ee27a21cdda6f8d3049d0ef08d75fa55aa063bb465f70d9839b
|
data/README.md
CHANGED
|
@@ -14,9 +14,22 @@ vagrant plugin install vagrant-phpstorm-tunnel
|
|
|
14
14
|
PhpStorm
|
|
15
15
|
--------
|
|
16
16
|
`vagrant-phpstorm-tunnel` will create a file `.idea/vagrant/php` in your vagrant-project.
|
|
17
|
+
|
|
17
18
|
Select this file as a PHP interpreter in PhpStorm:
|
|
18
19
|

|
|
19
20
|
|
|
21
|
+
Add PHP server for your project
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
VM
|
|
25
|
+
--
|
|
26
|
+
You should also export `PHP_IDE_CONFIG` parameter into `VM` environment with the same value as your PHP server name configured above
|
|
27
|
+
```
|
|
28
|
+
export PHP_IDE_CONFIG='serverName=www.fuboo.dev'
|
|
29
|
+
```
|
|
30
|
+
This is recommended to append above line to `~/.profile` file of your `VM`
|
|
31
|
+
|
|
32
|
+
|
|
20
33
|
Limitations
|
|
21
34
|
-----------
|
|
22
35
|
The plugin assumes your project is shared as `/vagrant` in the VM.
|
|
@@ -5,7 +5,7 @@ module VagrantPhpstormTunnel
|
|
|
5
5
|
|
|
6
6
|
name 'vagrant-phpstorm-tunnel'
|
|
7
7
|
|
|
8
|
-
%w{up provision}.each do |action|
|
|
8
|
+
%w{up provision reload}.each do |action|
|
|
9
9
|
action_hook(:install_tunnel, "machine_action_#{action}".to_sym) do |hook|
|
|
10
10
|
hook.append VagrantPhpstormTunnel::Configurator
|
|
11
11
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-phpstorm-tunnel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cargo Media
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-02-
|
|
13
|
+
date: 2014-02-24 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rake
|