README.md in mascherano-1.0.2 vs README.md in mascherano-1.0.3
- old
+ new
@@ -35,35 +35,39 @@
| __figaro__ | Manage configuration, usually `application.yml` for [Figaro](https://github.com/laserlemon/figaro) |
| __go__ | Manage and ability to deploy go application |
| __upstart__ | Manage application management using Upstart |
| __token__ | Manage and generate random secret token |
| __passenger__ | Manage Pushion Passenger based application |
+| __auth_basic__ | Manage and generate HTTP basic authentication `.htpasswd` |
| _more to come_ | _pull request are welcome ;)_ |
This package also provides a `noscm` recipe for when you don't need source code on your deployment box (usually application already compiled).
```ruby
# deploy.rb
-set :application, 'mascherano'
set :scm, :noscm
```
## Usage
Make sure you have `Capfile` in the root of your project, so you can add these lines (choose which one you're using):
```ruby
require 'mascherano/env'
-require 'mascherano/figaro'
require 'mascherano/foreman'
+require 'mascherano/figaro'
require 'mascherano/go'
require 'mascherano/upstart'
+require 'mascherano/token'
+require 'mascherano/passenger'
+require 'mascherano/auth_basic'
```
Then on `config/deploy/{env}.rb` you can customize the options:
```ruby
set :env_file, '.staging.env'
set :foreman_procfile, -> { release_path.join('procfiles', 'staging') }
+set :foreman_pids, -> { shared_path.join('pids') }
```
See the `lib/mascherano/task/*.cap` for more options.
## Contributing