[英]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.