In this video, you will learn how to deploy a Deno app to Heroku. Make sure that you have watched my previous video on how to build REST API in Deno if not please watch:
Follow on:
Github: https://github.com/codingx01
Twitter: https://twitter.com/TechParida
Linkedin: https://www.linkedin.com/company/codingx/
Facebook: https://www.facebook.com/codingx
Instagram: https://www.instagram.com/coding.x/
Leave any questions in the comments section and don't forget to subscribe to be notified of new content! :)
Top comments (4)
Were you able to deploy an app with deno_mongo? For some reason, I can't make it work.
Procfile
web: deno run --allow-net=:${PORT} --allow-read --allow-write --allow-plugin --unstable -c tsconfig.json index.ts --port=${PORT}
As you can see, it requires me to add the
--allow-net
flag even if it's already there in myProcfile.
Anyway, I've submitted the issue to the buildpack maintainer.Anyway it works now, I have to do
--allow-net
instead of--allow-net=:${PORT}
This is great! Thanks for putting it together and sharing it!
Thank you!