rfx-stack icon indicating copy to clipboard operation
rfx-stack copied to clipboard

Deploying to Heroku

Open evgenyboxer opened this issue 7 years ago • 3 comments

Hey,

I'm trying to deploy the stack to Heroku, but having trouble starting it up. Do you have experience with deploying it to Heroku? If so, could you provide an example of how to do so? What are the changes to .env / other changes that I need to do.

I'm pretty sure the problem is with the HOST that probably should not be set when running on Heroku. To run the API + Server on start, I created this: (in package.json / scripts)

"start": "concurrently --kill-others \"npm run web:prod\" \"npm run api:prod\""

But I'm still getting errors that aren't really helping me :/

Any ideas?

evgenyboxer avatar Oct 22 '16 02:10 evgenyboxer

Can you post the errors please?

foxhound87 avatar Oct 22 '16 10:10 foxhound87

Anyway you should start the api server before the web server

foxhound87 avatar Oct 23 '16 13:10 foxhound87

Maybe it can be a CORS issue?

foxhound87 avatar Nov 08 '16 08:11 foxhound87