GitXplorerGitXplorer
j

BuildDeploySupport

public
41 stars
16 forks
1 issues

Commits

List of commits on branch master.
Unverified
61533607894011690ac8568d9ac224a1c26948f5

Merge pull request #6 from jonnii/feature/delay-start

jjonnii committed 11 years ago
Unverified
204d2e24ecb2356619cdde197e81b01a2210bfe6

[Feature] Add ability to delay start service

jjonnii committed 11 years ago
Unverified
4b646fe8b439f692164b1fe6d8ddb56f7d0590c2

Merge pull request #5 from bitdeli-chef/master

jjonnii committed 11 years ago
Unverified
bab9db5f05b087a0827e2e2de8e0e1ed5be9d79f

Add a Bitdeli badge to README

bbitdeli-chef committed 11 years ago
Unverified
450659676ca6c701b2ee1782b37315397042ee0a

Merge pull request #4 from STRUDSO/master

jjonnii committed 11 years ago
Unverified
1850a54bc957aac38200af11b4e9a24aaf2aab7c

Update README.md

SSTRUDSO committed 11 years ago

README

The README file for this repository.

BuildDeploySupport

BuildDeploySupport is a collection of useful build scripts that you can use in your own project. When you install the package it will create a ./Deploy/Support directory at the same level as your solution and create a solution folder in your project so you can browse the scripts.

You can then use the scripts to simplify your deployment!

Please note that this is a work in progress.

How do I get it?

# to install
install-package BuildDeploySupport

# to upgrade
update-package BuildDeploySupport

How do I use it?

. .\DeployWeb.ps1

# install your app pool
Install-AppPool 'my-app-pool' -configure {
    Set-Credentials 'username' 'password'
}

# install your website
Install-WebSite $OctopusWebSiteName 'my-app-pool' 'www.yourdomain.com' {
	Set-WindowsAuthentication $true
	Set-AnonymousAuthentication $false
}

. .\DeployService.ps1

# install a topshelf service
Install-TopshelfService `
    $OctopusPackageDirectoryPath `
    $OctopusEnvironmentName `
    $OctopusPackageVersion `
    'startup.exe' `
    'Billion Dollar Idea'

# install another service
Install-Service $serviceName `
    -install {
        # install my service
    } `
    -configure {
        # configure my service
    }

# prepare a click once installer from a directory
Prepare-ClickOnce `
    '..\installers' `                   # output directory for the package
    '1.2.3.4' `                         # version of the installer
    '..\bin\Release' `                  # directory to clickonce-ify
    'MyApplication.exe' `               # application executable
    'MyCompanyAwesomeApp' `             # your application identity name
    'My Awesome Application' `          # the display name for the application
    'icon.png' `                        # your app icon
    'my company' `                      # the company publishing
    'http://mycompany.com/downloads/' ` # the download location for the installer
    'my-certificate-thumbprint'         # a certificate thumbprint to sign the package with (optional)

Contributors

  • @jonnii
  • @jamescrowley

Bitdeli Badge