Permalink
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:

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

    * 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`.
    boutell committed Mar 10, 2016
Commits on Feb 14, 2016
  1. Promised "cd first" behavior now applies to commands as well as inter…

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

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

    …d conf does it now, and objects to duplicate settings.
    boutell committed Jan 30, 2015
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 …

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

    …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.
    boutell committed Jun 18, 2013
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…

    …mehow,
    
    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
    boutell committed Apr 6, 2013
Commits on Apr 4, 2013
  1. Address an odd error from ubuntu if we install nodejs and npm in the …

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

    …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.
    boutell committed Aug 23, 2012
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 …

    …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.
    boutell committed Jul 14, 2012
Commits on May 14, 2012
  1. New defaultPort option allows sc-proxy to be the front end proxy for …

    …Apache (or some other server), forwarding traffic not intended for one of your node sites
    boutell committed May 14, 2012
Commits on Apr 27, 2012
  1. cleanup

    boutell committed Apr 27, 2012