-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
How to deploy? #280
Comments
Hey so you def do not want to check in the build directory to git. So you should add that back to |
Thanks for getting back. i will remove it. |
@ThekhoN I went ahead and made the PR's to your example repo so you can deploy to Heroku. |
So the issue had to do with how Heroku forces you to use their Can confirm that this works... https://razzle-redux-starter.herokuapp.com/ |
Thanks so much for taking the time to make this work :) |
I tried to deploy a simple counter app (based-off the redux example) with some actual API call to get and update the count.
https://github.com/ThekhoN/razzle-react-redux-starter
Correct me if i'm wrong, the only requirement for deployment is the /build folder after running
npm run build
?When i try to do
node server.js
, it keeps throwing module errors : "Cannot find module 'react'" etc.Can some one explain how to resolve this so that i can safely deploy the example?
Thanks.
The text was updated successfully, but these errors were encountered: