New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of pstrami
C#
var env = new Environment("prd")
   .AddInstance("www1", "web")
   .AddInstance("www2","web")
   .AddInstance("www3", "web")
   .AddInstance("www4", "web")
   .AddInstance("sql1", "db")
   .SetParameter("dbname","codecampserverPRD")
   .SetParameter("dbinstance", @"sql1\default")
   .SetParameter("websiteTargetDir",@"d:\domains\codecampserver\www")
   ;
by eric hexter   October 11, 2009 @ 10:29am
Tags: pstrami
287 Views
no comments
 
$assemblyPath =  resolve-path(".\Tino.Deployment.dll")
[Reflection.Assembly]::LoadFile( $assemblyPath ) | out-null
 
$deployer = new-object Tino.Deployment.CodeCampServerDeployment
 
$environment= new-object Tino.Deployment.Environment "Test"
 
$environment.AddInstance("wwwqa1","web").AddInstance("wwwqa2","web").AddInstance("wwwqa3","web").AddInstance("sqlqa1","db")
 
by Eric Hexter   October 11, 2009 @ 8:35am
391 Views
no comments
 
C#
public class Deployer
{
   public void Go()
   {
 
      //this is the type of code I would like to see in powershell
      var deployment = new CodeCampServerDeployment();
 
      Environment qa = new Environment("qa")
         .AddInstance("fooServer", "web", "db");
by Eric Hexter   October 10, 2009 @ 2:15pm
323 Views
no comments
 
brought to you by:
West Wind Techologies


If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate