Dropbox 中的 Rails 应用
我想使用私人 git 存储库备份我的 Rails 应用程序。我决定使用 Dropbox,但我已经部署到 heroku,为自定义域名设置 DNS,无需备份,并且不希望在传输项目时出现问题。
有谁有这方面的经验或者知道是否会出现问题?在传输到私人保管箱文件夹之前我是否应该重新配置任何文件?
I would like to backup my rails app usig a private git repo. I've decided to use Dropbox but I've already deployed to heroku, setup DNS for a custom domain name without backing up and would hate for something to go wrong by transferring my project.
Does anyone have experience with this or knows if something will go wrong? Should I reconfigure any files before transferring to a private dropbox folder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Heroku 的插件(即自定义域)配置位于其服务器上,而不是您的计算机上。通常配置出现在 ENV 变量中。输入
heroku config
查看您拥有的内容。所以是的,您可以随意将代码复制到任何您喜欢的地方,并且一定要复制您的点文件。
就我个人而言,我使用 github 进行代码备份。
Heroku's addons (i.e. custom domain) configurations are located on their server, not on your computer. Typically configs appear in ENV variables. Type
heroku config
to see what you have.So yes, you are free to copy your code anywhere you like, and be sure to copy your dotfiles as well.
Personally, I use github for my code backups.
bitbucket 现在拥有私有 git 存储库。 Unfuddle 也曾经拥有它们一段时间。顺便说一句,这些都是免费的。
bitbucket now has private git repos. Unfuddle had them for a while too. These are all free, BTW.
简而言之 - 不要重新配置或设置任何东西 - 而是享受一些编码的乐趣:)
如果您只是希望您的存储库安全地保留在“云”中,那么:
完成后就忘记了。恕我直言,
In short - don't reconfigure or setup anything - have fun of some coding instead :)
If you just want your repo to stay safely in the "cloud" then:
IMHO it is: