Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
capistrano-sneakers
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
capistrano-sneakers
Commits
f60dacd3
Unverified
Commit
f60dacd3
authored
Jan 26, 2018
by
Andrew Babichev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust README with options
parent
1afdcc0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
12 deletions
+20
-12
README.md
+20
-12
No files found.
README.md
View file @
f60dacd3
...
...
@@ -6,36 +6,44 @@
Add this line to your application's Gemfile:
```
ruby
gem
'capistrano-sneakers'
```
gem 'capistrano-sneakers', github: 'inventionlabsSydney/capistrano-sneakers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-sneakers
## Usage
## Usage
```
ruby
# Capfile
require
'capistrano/sneakers'
# Include monit tasks
# require 'capistrano/sneakers/monit'
require
'capistrano/sneakers/monit'
# optional, to require monit tasks
```
Configurable options, shown here with defaults:
```
ruby
:sneakers_default_hooks
=>
true
:sneakers_pid
=>
File
.
join
(
shared_path
,
'tmp'
,
'pids'
,
'sneakers.pid'
)
# ensure this path exists in production before deploying
:sneakers_env
=>
fetch
(
:rack_env
,
fetch
(
:rails_env
,
fetch
(
:stage
)))
:sneakers_log
=>
File
.
join
(
shared_path
,
'log'
,
'sneakers.log'
)
:sneakers_role
=>
:app
:sneakers_processes
=>
1
# sneakers monit
:sneakers_monit_conf_dir
=>
'/etc/monit/conf.d'
:sneakers_monit_use_sudo
=>
true
:sneakers_monit_bin
=>
'/usr/bin/monit'
:sneakers_monit_templates_path
=>
'config/deploy/templates'
```
## Contributors
-
[
Andrew Babichev
](
https://github.com/Tensho
)
-
[
NaixSpirit
](
https://github.com/NaixSpirit
)
## Contributing
1.
Fork it (
https://github.com/NaixSpirit/capistrano-sneakers/fork
)
1.
Fork it (
https://github.com/inventionlabsSydney/capistrano-sneakers
)
2.
Create your feature branch (
`git checkout -b my-new-feature`
)
3.
Commit your changes (
`git commit -am 'Add some feature'`
)
4.
Push to the branch (
`git push origin my-new-feature`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment