thesnowmancometh
7/28/2018 - 8:14 PM

Now basics

Deploy, alias, and stop deployments with Now

# deploy the current directory
function deploy {
  now
  # then, remember to update the alias!
}

# list deployments
function ls {
  now ls # this shows project names
  now ls atlantis # shows all deployments under this project  
}

# create an alias
function alias {
  # given the URL of the deployment, update the URL.
  now alias https://personal-website-jaftvbzcuw.now.sh robbiemckinstry.tech
}
{
  "name": "atlantis",
  "alias": "atlantis.robbiemckinstry.tech",
  "scale": {
    "sfo1": {
      "min": 1,
      "max": 1
    }
  }
}