embetacloud icon indicating copy to clipboard operation
embetacloud copied to clipboard

Working on Heroku!

Open capriciousduck opened this issue 5 years ago • 6 comments

Hey, it is working on heroku. I've deployed on my account and it is working! I think the readme should be updated.

I've also uploaded my files to google drive.

capriciousduck avatar Nov 16 '19 12:11 capriciousduck

Hey man, is there any chance you could give a quick guide for deploying on heroku?

ntilikp avatar Dec 15 '19 10:12 ntilikp

Add the following line to the Dockerfile and push the app through heroku's container registry.

CMD node server/server.js

Then it will work. Let me know if that is working for you too. If yes, then maybe you can write a quick guide O:)

capriciousduck avatar Dec 18 '19 16:12 capriciousduck

Also, dont forget to ping the app to prevent it from sleeping(if you are on free plan)

capriciousduck avatar Dec 18 '19 16:12 capriciousduck

If I deploy the app normally I am getting issues. So, I tried through docker the first time, it failed. The second time I took a look at the dockerfile and seen that it is missing the CMD instruction. So I've added it. That's it.

capriciousduck avatar Dec 18 '19 16:12 capriciousduck

If I deploy the app normally I am getting issues. So, I tried through docker the first time, it failed. The second time I took a look at the dockerfile and seen that it is missing the CMD instruction. So I've added it. That's it.

I appreciate the response, and would love to draw up a quick guide, but unfortunately I'm a complete beginner to docker / heroku, so I haven't figured out how to push the app, with the new line added, through to heroku. Thanks anyways.

ntilikp avatar Jan 14 '20 19:01 ntilikp

could you please help me out?I am having trouble while deploying the app on heroku @capriciousduck

johnpatrick9 avatar Feb 04 '20 16:02 johnpatrick9