Is it an issue with the Heroku build failing? You may need to insert 
the heroku/nodejs buildpack infront of your heroku/ruby buildpack if it did 
not happen automatically. You can check by running `heroku buildpacks`, it 
should list something like 1. heroku/nodejs, 2. heroku/ruby.



On Thursday, August 22, 2019 at 10:20:58 AM UTC-4, Joe Guerra wrote:
>
> Thanks.
>
> I found a portfolio app that runs on react.  Got it working locally, 
> unfortunately can't figure out how to publish it to heroku.  (  I did 
> follow a tutorial, most tutorials don't seem to work...)
>
>
>
> On Tuesday, August 20, 2019 at 9:54:34 AM UTC-4, Douglas Lovell wrote:
>>
>> Here is an open source project on GitHub that combines React with Rails:
>>
>> https://github.com/wbreeze/socelect
>>
>> It takes a monorepo approach, with the front-end JS code next to the 
>> back-end Rails. To integrate, it simply has the JS build (uses Parcel) 
>> output the transpiled, bundled javascript into the Rails assets/javascripts 
>> directory. It names the output without a fingerprint, because Rails asset 
>> pipeline will add one.
>>
>> The idea was to keep it as simple as it can possibly be and have it work 
>> cleanly. It doesn't use the react-rails gem. It doesn't use separate 
>> repositories or servers. All of these gymnastics for scale are 
>> aspirational. Few projects ever reach the point of scale, especially when 
>> bogged-down in the gymnastics.
>>
>> On Monday, August 19, 2019 at 3:48:03 PM UTC-3, Joe Guerra wrote:
>>>
>>> I'm going to rebuild my rails app and maybe add react on the front end.  
>>>   I forget which version of rails I'm using, but I guess it would be best 
>>> to start over with the latest.
>>>
>>> Does anyone know of boilerplate or template that would include starting 
>>> an app with the react & rails?  (maybe some other useful gems as well)
>>>
>>> Thanks,
>>> Joe
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/87e67ae5-ed62-443e-822f-d0208afdfa73%40googlegroups.com.

Reply via email to