No commit activity in last 3 years
No release in over 3 years
some capistrano recipes for deploying mono apps on to linux servers, using railsless-deploy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Capistrano::Mono::Deploy

Capistrano recipe for deploying mono apps utilising railsless-deploy

Features

  • 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

Installation

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

Usage

xsp4 capfile example

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"

fastcgi capfile example

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

Custom command capfile example

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"

Contributing

  1. Fork it
  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)
  5. Create new Pull Request

Bugs & Feedback

Via my Github profile please:

http://github.com/antonydenyer