how do i run a development rails app / website on an ipod

后端 未结 5 1319
北海茫月
北海茫月 2021-01-04 08:19

I have a app / site that i am running on my local imac and i want to test it on my ipad browser.

Can connect to my imac localhost rails app throught the wifi wit

5条回答
  •  生来不讨喜
    2021-01-04 09:01

    If the subdomain is just going to 127.0.0.1:3000 (or whatever) you should be able to access it the same way by going to your machine's local IP address with the same supplied port number. I look at my rails app on my phone all the time.

    If you have virtual hosts or something set up, it's probably going to be more complicated than that.

提交回复
热议问题