capistrano-yeoman 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -38,7 +38,22 @@ And then execute:
38
38
 
39
39
  ```
40
40
 
41
- and link your app/curent/dist folder in your nginx/apache/other web serwer.
41
+ and link your ...appdir/curent/dist folder in your nginx/apache/other web serwer.
42
+
43
+ ## How it works?
44
+
45
+ After updating code on the server it:
46
+
47
+ 1. installs yeoman (if its not already installed)
48
+ 2. runs `npm install`
49
+ 3. runs `bower install`
50
+ 4. finally `$grunt build`
51
+
52
+ ## Dependencies
53
+
54
+ Nodejs with npm have to be installed on your server. In case of using sass also ruby with compass should be in your PATH.
55
+
56
+ It's good to update the npm before first deploy (`sudo npm update npm -g`), but after that be sure that your deploying user has access to ~/.npm dir and ~/tmp (if it exist).
42
57
 
43
58
  ## Tasks
44
59
 
@@ -1,5 +1,5 @@
1
- # SSHKit.config.command_map[:bower] = File.join(current_path, 'node_modules', 'bower', 'bin', "bower")
2
- # SSHKit.config.command_map[:grunt] = File.join(current_path, 'node_modules', 'grunt-cli', 'bin', "grunt")
1
+ SSHKit.config.command_map[:bower] = File.join(current_path, 'node_modules', 'bower', 'bin', "bower")
2
+ SSHKit.config.command_map[:grunt] = File.join(current_path, 'node_modules', 'grunt-cli', 'bin', "grunt")
3
3
 
4
4
  namespace :yo do
5
5
  # task :set_path do
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Yeoman
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-yeoman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-01 00:00:00.000000000 Z
12
+ date: 2014-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler