简体   繁体   English

如何导出Rails应用程序中的红宝石

[英]How do i export my ruby on rails application

I have created a sample ruby application which uses SQLite. 我创建了一个使用SQLite的示例ruby应用程序。 Everything is working fine in my local machine. 在我的本地计算机上一切正常。

Now I want to share this application, so everyone can download and deploy it in their own machines. 现在,我想共享此应用程序,以便每个人都可以在自己的计算机上下载并部署它。 So basically, I need to export my application along with its DB schema. 因此,基本上,我需要将应用程序及其数据库模式导出。 I do not know how it is done. 我不知道怎么做。 Can anyone point me in the right direction? 谁能指出我正确的方向?

App is running on Ruby 1.9.3 and Rails 4.4.3 应用程序在Ruby 1.9.3和Rails 4.4.3上运行

You want to use a version control system like git combined with a repository like Github.com. 您想将git之类的版本控制系统与Github.com之类的存储库结合使用。 There are other version control systems out there, but most people in the Rails community use git. 还有其他版本控制系统,但是Rails社区中的大多数人都使用git。

使用github共享您的代码(这是一个版本控制系统),并使用rails迁移来确保您的编码器可以在同一数据库架构上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何卸载Ruby on Rails应用程序? - How do I uninstall a Ruby on Rails application? 如何在我的Ruby on Rails应用程序中添加Twitter搜索提要? - How do I add a twitter search feed to my Ruby on Rails application? 如何在我的Rails应用程序视图中打印ruby变量的内容? - How do I print the contents of a ruby variable in the view of my Rails Application? 如何将数据从SQL Server传递到我的Web Ruby on Rails应用程序? - How do I pass data from a SQL Server to my web Ruby on Rails application? 如何为我的应用程序创建Twitter样式的URL-使用现有应用程序或重新设计应用程序-Ruby on Rails - How do I create Twitter style URLs for my app - Using existing application or app redesign - Ruby on Rails 如何在rails(4)应用程序中使用我的ruby(2.2.1)嵌入直播(视频) - How do I embed live streaming (video) with my ruby(2.2.1) on rails(4) application 如何在应用程序中更新Rails - How do I update rails in my application 如何部署我的Rails应用程序 - How do I deploy my Rails Application 如何向我的 Ruby on Rails 应用程序添加新视图? - How can I add a new view to my Ruby on Rails application? 如何在Rails应用程序中读取ruby中的siteminder标头 - How can I read siteminder headers in my ruby on rails application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM