Cheatsheet for Vercel deployment and hosting
my-app$ vercel
If you're on the fee plan, the cli will ask you to confirm, that the deployment will be public (Source is publicly available at https://.now.sh/.src).
Use the --public
option to omit the warning
my-app$ vercel --public
$ vercel ls <my-app>
$ vercel alias <deployment-id | deployment-url> my-alias
Delete all instances of an app
$ vercel rm <my-app>
Delete all non-aliased instances of an app
$ vercel rm <my-app> --safe
→ Vercel Blog: Environment Variables UI
→ Example "with-dotenv"
Pull development env variables
$ vercel env pull
→ Docs: DNS Record Management Through the CLI
Create an MX record which makes the mail server located at mail.awesome-now.us
responsible for handling emails sent to an address suffixed with @zeit.rocks
.
$ vercel dns add zeit.rocks @ MX mail.awesome-now.us 10