github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/node/deploy/index.html.md (about)

     1  ---
     2  layout: "app_node"
     3  page_title: "Build & Deploy - Node.js App Type"
     4  sidebar_current: "docs-node-deploy"
     5  description: |-
     6    Otto defaults to assuming your Node.js application is a public-facing web
     7    application, and deploys it with this assumption.
     8  ---
     9  
    10  # Build & Deploy
    11  
    12  Otto defaults to assuming your Node.js application is a public-facing web
    13  application, and deploys it with this assumption.
    14  
    15  This page documents all the common deployment choices made for all
    16  infrastructures. The sidebar on the left can be used to view
    17  infrastructure-specific choices that are made for certain infrastructure
    18  targets.
    19  
    20  ## Common Points
    21  
    22  Below is an unordered list of common points about the build and deploy
    23  process. Please see the [customizations](/docs/apps/node/customization.html)
    24  page for a list of behavior that can be changed.
    25  
    26    * The application is deployed behind [Phusion Passenger](https://www.phusionpassenger.com/)
    27      and [Nginx](http://nginx.org/).
    28  
    29    * `npm install --production` is used during the build process to
    30      get all the dependencies for your applicaiton.