Vercel basics
Basics
- CLI: npm package
vercel, then you can do things likevercel env [list|add|...]vercel devruns the thing locally at localhostvercel deploydoes a deployment
- General
- A Git repo is a really good way to do deployments
- deployment updates automatically when pushed to
main(or notmain)
- deployment updates automatically when pushed to
- A Git repo is a really good way to do deployments
- Website
- you can add env. variables, including hidden ones (won’t be show in the UI)
Deployment protection
TODO
Using private dependencies
How do I use private dependencies with Vercel?
- TL;DR create a GitHub/GitLab PAT, then in
requirements.txtdo the usualgit+....user:PAT@....git - Any way I can avoid committing my PAT to requirements? TODO+
- Pipfile can do env. vars,
requirements.txtdoesn’t seem to
- Pipfile can do env. vars,
- Linked GitHub repo and requirements.txt - General - Render not working for me:
package-name @ git+https://${GITHUB_TOKEN}@github.com/user/package-name.git@main
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus