Capistrano recipe for deploying mono apps utilising railsless-deploy
- Provides
cap deploy
functionality for your mono app - Automatically starts application using xsp4, fastcgi or using your own custom scripts
- Provides tasks for starting (
cap mono:start
) and stopping (cap mono:stop
) your mono app
Add this line to your application's Gemfile:
gem 'capistrano-mono-deploy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-mono-deploy
You probably shouldn't use xsp as a production server, consider using nginx with fastcgi
require "capistrano/mono-deploy"
role :app, "your.server.fqdn"
set :user, "deploy"
set :deploy_to, "/var/apps/my-app-folder"
This will run fastcgi-mono-server4.exe in the background, if the process dies it will not bring it back up again
require "capistrano/mono-deploy"
role :app, "your.server.fqdn"
set :user, "deploy"
set :deploy_to, "/var/apps/my-app-folder"
set :mono_app, :fastcgi
require "capistrano/mono-deploy"
role :app, "your.server.fqdn"
set :user, "deploy"
set :deploy_to, "/var/apps/my-app-folder"
set :mono_app, :custom
set :custom_stop, "service myMonoApplicaton stop"
set :custom_start, "service myMonoApplicaton start"
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Via my Github profile please: