npm i -g now
c:\MyAppOrDockerContainerFolder> now
c:\MyApp> now --static
now alias my-last-deploy-url.now.sh new-alias
Where new-alias is the new alias for the desire deploy url
now-start
: replacestart
package commandnow-build
: replacebuild
package command
now -p
- First we need to go the url that we deploy
- Then We need to append to the url
_src
and hit enter
Sample:
http://my-last-deploy-url.now.sh/_src
Everytime that we highlight something It will generate a url that we can share with others to point the error
c:\MyApp> now -e KEY=VALUE
and if we want to set multiple variables:
c:\MyApp> now -e KEY1=VALUE1 -e KEY2=VALUE2
First we need to set our secrets
c:\MyApp> now secret add variableName VALUE
Now to call that variableName's value:
c:\MyApp> now -e KEY=@variableName
To show the documentation about the secrets
c:\MyApp> now secrets
c:\MyApp> now secrets ls
c:\MyApp> now secret remove secretName
This command show the list of deployments and the associated sites
now ls
You need to get the id
of your deployment that you want to delete or remove
now rm id-of-the-site
or
now remove id-of-the-site
More documentation: how to remove deployments