@@ -13,7 +13,7 @@ session per deploy, minimizing the SSH connection overhead.
13
13
$ gem install mina
14
14
$ mina
15
15
16
- [ ![ Build Status] ( https://travis-ci.org/mina-deploy/mina.svg?branch=master )] ( https://travis-ci.org/mina-deploy/mina ) [ ![ Gem Version] ( https://badge.fury.io/rb/mina.svg )] ( http://badge.fury.io/rb/mina )
16
+ [ ![ Build Status] ( https://travis-ci.org/mina-deploy/mina.svg?branch=master )] ( https://travis-ci.org/mina-deploy/mina ) [ ![ Gem Version] ( https://badge.fury.io/rb/mina.svg )] ( http://badge.fury.io/rb/mina ) [ ![ Inline docs ] ( http://inch-ci.org/github/mina-deploy/mina.svg?branch=master )] ( http://inch-ci.org/github/mina-deploy/mina )
17
17
18
18
User guide
19
19
==========
@@ -837,6 +837,9 @@ their own.
837
837
### git: clone
838
838
Clones the Git repository. Meant to be used inside a deploy script.
839
839
840
+ ### git: revision
841
+ Gets the current git revision deployed on server.
842
+
840
843
# Modules: Rails
841
844
Adds settings and tasks for managing Rails projects.
842
845
@@ -887,6 +890,14 @@ release.
887
890
Override this if you have custom asset paths declared in your Rails's
888
891
` config.assets.paths ` setting.
889
892
893
+ ### compiled_asset_path
894
+ The path to be copied to the new release.
895
+
896
+ The path your assets are compiled to. If your ` assets_path ` assets have changed,
897
+ this is the folder that gets copied accross from the current release to the new release.
898
+
899
+ Override this if you have custom public asset paths.
900
+
890
901
### rake_assets_precompile
891
902
The command to invoke when precompiling assets.
892
903
Override me if you like.
@@ -919,6 +930,9 @@ Opens the Ruby console for the currently-deployed version.
919
930
$ mina console
920
931
~~~
921
932
933
+ ### log
934
+ Tail log from server
935
+
922
936
## Deploy tasks
923
937
These tasks are meant to be invoked inside deploy scripts, not invoked on
924
938
their own.
@@ -927,6 +941,8 @@ their own.
927
941
928
942
### rails:db_migrate: force
929
943
944
+ ### rails: db_create
945
+
930
946
### rails: db_rollback
931
947
932
948
### rails:assets_precompile: force
@@ -1060,8 +1076,8 @@ Installs node modules. Takes into account if executed `in_directory` and namespa
1060
1076
### bower: install
1061
1077
Installs bower modules. Takes into account if executed ` in_directory ` and namespaces the installed modules in the shared folder.
1062
1078
1063
- ### bower : install
1064
- Installs bower modules. Takes into account if executed ` in_directory ` and namespaces the installed modules in the shared folder .
1079
+ ### grunt : install
1080
+ Launch a task with grunt. Set the grunt_task (defaults to \" build \" ) variable before calling this .
1065
1081
1066
1082
# Modules: Whenever
1067
1083
Adds settings and tasks for managing projects with [ whenever] .
@@ -1074,7 +1090,9 @@ require 'mina/whenever'
1074
1090
task :deploy => :environment do
1075
1091
deploy do
1076
1092
...
1077
- invoke :'whenever:update'
1093
+ to :launch do
1094
+ invoke :'whenever:update'
1095
+ end
1078
1096
end
1079
1097
~~~
1080
1098
@@ -1105,8 +1123,7 @@ end
1105
1123
Acknowledgements
1106
1124
----------------
1107
1125
1108
- © 2012-2015, Nadarei. Released under the [ MIT
1109
- License] ( http://www.opensource.org/licenses/mit-license.php ) .
1126
+ © 2012-2015, Nadarei. Released under the [ MIT License] ( http://www.opensource.org/licenses/mit-license.php ) .
1110
1127
1111
1128
Mina is authored and maintained by [ Rico Sta. Cruz] [ rsc ] and [ Michael
1112
1129
Galero] [ mg ] with help from its [ contributors] [ c ] . It is sponsored by our
0 commit comments