Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying to Heroku #29

Open
evgenyboxer opened this issue Oct 22, 2016 · 3 comments
Open

Deploying to Heroku #29

evgenyboxer opened this issue Oct 22, 2016 · 3 comments

Comments

@evgenyboxer
Copy link
Contributor

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?

@foxhound87
Copy link
Owner

Can you post the errors please?

@foxhound87
Copy link
Owner

foxhound87 commented Oct 23, 2016

Anyway you should start the api server before the web server

@foxhound87
Copy link
Owner

Maybe it can be a CORS issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants