Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I deploy mostly ASP.NET apps to Linux servers. Here is my standard workflow:</p> <ul> <li>I use a source code repository (like Subversion)</li> <li>On the server, I have a bash script that does the following: <ul> <li>Checks out the latest code</li> <li>Does a build (creates the DLLs)</li> <li>Filters the files down to the essentials (removes code files for example)</li> <li>Backs up the database</li> <li>Deploys the files to the web server in a directory named with the current date</li> <li>Updates the database if a new schema is included in the deployment</li> <li>Makes the new installation the default one so it will be served with the next hit</li> </ul></li> </ul> <p>Checkout is done with the command-line version of Subversion and building is done with xbuild (msbuild work-alike from the Mono project). Most of the magic is done in ReleaseIt.</p> <p>On my dev server I essentially have continuous integration but on the production side I actually SSH into the server and initiate the deployment manually by running the script. My script is cleverly called 'deploy' so that is what I type at the bash prompt. I am very creative. Not.</p> <p>In production, I have to type 'deploy' twice: once to check-out, build, and deploy to a dated directory and once to make that directory the default instance. Since the directories are dated, I can revert to any previous deployment simply by typing 'deploy' from within the relevant directory.</p> <p>Initial deployment takes a couple of minutes and reversion to a prior version takes a few seconds.</p> <p>It has been a nice solution for me and relies only on the three command-line utilities (svn, xbuild, and releaseit), the DB client, SSH, and Bash.</p> <p>I really need to update the copy of ReleaseIt on CodePlex sometime:</p> <p><a href="http://releaseit.codeplex.com/" rel="nofollow noreferrer">http://releaseit.codeplex.com/</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload