我如何在 ipod 上运行开发 Rails 应用程序/网站

编程入门 行业动态 更新时间:2024-10-28 01:24:14
本文介绍了我如何在 ipod 上运行开发 Rails 应用程序/网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个在本地 imac 上运行的应用程序/网站,我想在我的 ipad 浏览器上对其进行测试.

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

可以用我的 ipad 通过 wifi 连接到我的 imac localhost rails 应用程序吗?如果有怎么办!!?

Can connect to my imac localhost rails app throught the wifi with my ipad ? If so how!! ?

我的应用程序是一个使用子域的多租户应用程序,因此我使用我的主机文件指向例如 achme.mycompany.dev 到 localhost.

My app is a multi tenant app that uses subdomains and so i use the hosts file on my my to point for example achme.mycompany.dev to localhost.

如何在 ipad 上执行此操作以在浏览器中转到 achme.mycompany.dev 并在我的 imac 上运行本地应用程序?

How do i do this on the ipad to goto achme.mycompany.dev in the browser and it runs the local app on my imac ?

希望这一切都有意义!请帮忙.

Hope this all makes sense! Please help.

最好的问候瑞克

推荐答案

我希望你的 macbook 和 iPad 在同一个网络上.现在转到打开网络首选项".检查屏幕截图.

I am hoping that your macbook and iPad are on same network. Now go to "Open network preference". Check screenshot.

你会看到一个ip.

然后从 ipad 打开:your_ip:3000

then from ipad open: your_ip:3000

更多推荐

我如何在 ipod 上运行开发 Rails 应用程序/网站

本文发布于:2023-06-04 17:29:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/502165.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   如何在   网站   Rails   ipod

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!