Switch branches/tags
Nothing to show
Commits on Dec 23, 2016
  1. 12/23/2016:

    boutell committed Dec 23, 2016
    * `sc-restart` is now available as a handy remote command. It runs the `deployment/stop` and `deployment/start` scripts on the specified target server, exactly as if you had redeployed the site.
    * The default `start` script is now smart enough to take apps configured for multiple ports into account when searching for the next free port for a new app.
Commits on Oct 14, 2016
  1. `before-connecting` script is now executed locally, if it exists, giv…

    boutell committed Oct 14, 2016
    …ing you a chance to run gulp builds etc.
Commits on Sep 14, 2016
  1. run quiet

    boutell committed Sep 14, 2016
  2. You can now optionally specify a username with sc-shell, like:

    boutell committed Sep 14, 2016
    sc-shell root@production
    As always, if you do not do this, you are connected as the user specified in `settings.production`.
Commits on Sep 1, 2016
Commits on Mar 10, 2016
  1. Important `sc-deploy` fixes for error conditions.

    boutell committed Mar 10, 2016
    * If a deployment fails, correctly print an error message rather than a cheerful one. (Previously `sc-deploy` was doing the right thing, but printing the wrong thing. Except in cases where `migrate` failed, as mentioned below.)
    * If a deployment fails, and we got as far as stopping the previous deployment, relink and restart the previous deployment. This is important if the `migrate` script fails. Did you know that `if` statements destroy `$?`? I didn't. Man, I hate shell scripting.
    * Updated various misleading comments in old scripts in `example/deployment`.
    * Just for newbie convenience, the `dependencies` script of the `example` project will create the new deployment folder's `public` subdirectory if it is missing. In real life projects you'll have one with static assets at the very least, or you'll edit `dependencies`.
Commits on Feb 14, 2016
  1. Promised "cd first" behavior now applies to commands as well as inter…

    boutell committed Feb 14, 2016
    …active shells, as documented
Commits on Feb 9, 2016
Commits on Sep 25, 2015
  1. Documentation now reflects our best practices. Removed off-topic stuf…

    boutell committed Sep 25, 2015
    …f, deprecated sc-proxy. No code changes
Commits on Jan 30, 2015
  1. We no longer set bind_ip for mongodb because the repository's standar…

    boutell committed Jan 30, 2015
    …d conf does it now, and objects to duplicate settings.
Commits on Jan 27, 2015
Commits on Dec 11, 2014
  1. sc-rollback

    boutell committed Dec 11, 2014
Commits on Jul 1, 2014
Commits on May 2, 2014
Commits on Apr 23, 2014
  1. mongodb 2.6

    boutell committed Apr 23, 2014
Commits on Apr 15, 2014
Commits on Feb 28, 2014
Commits on Feb 23, 2014
Commits on Oct 9, 2013
  1. How the heck did "Mig" creep in on this line? Amusingly on Macs with …

    boutell committed Oct 9, 2013
    …xcode this is usually not an error. I guess nobody uses Linux on their desktop with stagecoach or something.
Commits on Jul 18, 2013
Commits on Jun 18, 2013
  1. `sc-deploy` overhauled. Now keeps 5 deployments on the server by defa…

    boutell committed Jun 18, 2013
    …ult rather than keeping them forever. You can adjust this number via the `KEEP` variable in `deployment/settings`. Also, `sc-deploy` does a better job of recognizing problems at the end of the deployment process and will flip the symbolic link back to the previous deployment and attempt to restart that version of the code if deployment fails.
Commits on May 28, 2013
  1. Fixed a spelling error.

    jsumnersmith committed May 28, 2013
Commits on May 14, 2013
Commits on Apr 6, 2013
  1. Do not assume apps are not already running. If sc-proxy falls over so…

    boutell committed Apr 6, 2013
    they may still be running (pre-stop is not invoked in that case). If we don't
    restart them, we'll wind up with redundant 'forever' processes, leading to
    a pinned CPU trying to restart extra copies of each app
Commits on Apr 4, 2013
  1. Address an odd error from ubuntu if we install nodejs and npm in the …

    boutell committed Apr 4, 2013
    …same invocation of apt-get
Commits on Jan 15, 2013
Commits on Aug 23, 2012
  1. sc-deploy now runs an optional "dependencies" script when present. Th…

    boutell committed Aug 23, 2012
    …is script is for installing server-side dependencies that can't just be rsynced over from development. The provided example script runs "npm install", if and only if there is a package.json file. This is a great way to do it for node apps. Now it is safe to deploy apps that contain compiled node extensions among their npm modules with stagecoach. Thanks to Howard Tyson for pointing out the need to address this. The example app now depends on express, just to demonstrate that the remote 'npm install' works.
Commits on Jul 28, 2012
  1. docs

    boutell committed Jul 28, 2012
  2. More documentation improvements

    boutell committed Jul 28, 2012
  3. Minor documentation tweaks

    boutell committed Jul 28, 2012
Commits on Jul 14, 2012
  1. Should be executable

    boutell committed Jul 14, 2012
  2. I have filtered out the 'settings' file so it is as if that file had …

    boutell committed Jul 14, 2012
    …never been part of the repository. That's because your settings file and mine are going to be different (in particular, they will probably have a different USER= setting). In addition, I've added 'settings' to .gitignore.
Commits on May 14, 2012
  1. New defaultPort option allows sc-proxy to be the front end proxy for …

    boutell committed May 14, 2012
    …Apache (or some other server), forwarding traffic not intended for one of your node sites