Skip to content

Commit bffddd8

Browse files
committed
updare Readmes
1 parent 018f7e9 commit bffddd8

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

Readme.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ session per deploy, minimizing the SSH connection overhead.
1313
$ gem install mina
1414
$ mina
1515

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)
1717

1818
User guide
1919
==========
@@ -837,6 +837,9 @@ their own.
837837
### git:clone
838838
Clones the Git repository. Meant to be used inside a deploy script.
839839

840+
### git:revision
841+
Gets the current git revision deployed on server.
842+
840843
# Modules: Rails
841844
Adds settings and tasks for managing Rails projects.
842845

@@ -887,6 +890,14 @@ release.
887890
Override this if you have custom asset paths declared in your Rails's
888891
`config.assets.paths` setting.
889892

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+
890901
### rake_assets_precompile
891902
The command to invoke when precompiling assets.
892903
Override me if you like.
@@ -919,6 +930,9 @@ Opens the Ruby console for the currently-deployed version.
919930
$ mina console
920931
~~~
921932

933+
### log
934+
Tail log from server
935+
922936
## Deploy tasks
923937
These tasks are meant to be invoked inside deploy scripts, not invoked on
924938
their own.
@@ -927,6 +941,8 @@ their own.
927941

928942
### rails:db_migrate:force
929943

944+
### rails:db_create
945+
930946
### rails:db_rollback
931947

932948
### rails:assets_precompile:force
@@ -1060,8 +1076,8 @@ Installs node modules. Takes into account if executed `in_directory` and namespa
10601076
### bower:install
10611077
Installs bower modules. Takes into account if executed `in_directory` and namespaces the installed modules in the shared folder.
10621078

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.
10651081

10661082
# Modules: Whenever
10671083
Adds settings and tasks for managing projects with [whenever].
@@ -1074,7 +1090,9 @@ require 'mina/whenever'
10741090
task :deploy => :environment do
10751091
deploy do
10761092
...
1077-
invoke :'whenever:update'
1093+
to :launch do
1094+
invoke :'whenever:update'
1095+
end
10781096
end
10791097
~~~
10801098

@@ -1105,8 +1123,7 @@ end
11051123
Acknowledgements
11061124
----------------
11071125

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).
11101127

11111128
Mina is authored and maintained by [Rico Sta. Cruz][rsc] and [Michael
11121129
Galero][mg] with help from its [contributors][c]. It is sponsored by our

support/Readme-header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ session per deploy, minimizing the SSH connection overhead.
1313
$ gem install mina
1414
$ mina
1515

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)
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)

0 commit comments

Comments
 (0)