Format:
Recent snippets matching tags of pstrami
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") ;
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")
391 Views
no comments
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");
323 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
