-
Notifications
You must be signed in to change notification settings - Fork 5
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
Put website up #148
Comments
Current plan: Use Heroku. Issue: backend and react-scripts use two different ports, which you can't do on Heroku. So, instead, we need to set up an mLab integration and ensure that we're not using two ports. I think. |
facebook/create-react-app#2271 So I'm currently looking into this. I'd love to hear what error people are getting when trying to deploy to Heroku. Currently there is an issue with the HOST naming. I do believe there's a heroku builld that can work around this. |
Well, the build log seems fine:
However, https://the-travel-shelf.herokuapp.com/ isn't. |
Running |
Hmmm. I find it weird you're not getting anything now. I had an invalid host header. Do you have a web dyno running? Did it detect it? Can you post the Heroku build logs from the dashboard? The local build is still relying on webpack-dev-server, and If you could post the heroku logs that would be great. |
I don't believe I have a web dyno running. Do I need a Procfile for that? I though it should automatically detect from the I believe the log issue is this:
|
No procfile needed. I just wanted to make sure it picked it up, which it did. The conflicting port I didn't have with the I was going to try and fool around with this heroku buildpack this weekend: https://github.com/mars/create-react-app-buildpack Feel free to look in there right now for the answer. My best recommendation is to re-initalize the deploy and start from a fresh build, with the config vars needed put into the settings folder. |
Want to ping me the config vars needed, if they're different? I can try a new deploy. |
Pull request #162 has working code to launch on heroku. |
Seems to work! https://the-travel-shelf.herokuapp.com/ |
Sweet.
The text was updated successfully, but these errors were encountered: