将RefineryCMS从本地转移到生产 [英] Move RefineryCMS from Local to Production

查看:89
本文介绍了将RefineryCMS从本地转移到生产的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们决定为当前项目尝试使用RefineryCMS,但遇到了一些问题. 我们在本地开发环境中开始了该项目.截止日期快到了.首先,我们尝试使用DreamHost服务器将项目移入生产环境.图片存在问题(Refinery使用Dragonfly),我们的数据库转储没有在图片上留下任何图片(或缩略图).

We decided to try using RefineryCMS for our current project and have run into some issues. We began the project in a local development environment. The deadline is very quickly approaching. At first, we tried to move the project into production using a DreamHost server. There were issues with the images (Refinery uses Dragonfly), where our database dump wasn't brining any images over (or thumbnails).

我们已经用尽资源,但仍然找不到解决问题的方法.我已经进行了研究,在Google小组中询问了问题,给人们发了电子邮件,并在聊天中询问了-没有人回答.

We have exhausted our resources and still can't find a solution to our problem. I've done research, asked in the Google group, emailed people, and asked in the chat - no one has answered yet.

那么,在座的人中有谁知道将项目从本地开发环境转移到生产环境的最佳解决方案是什么?

So, does anyone here have any idea what is the best solution for moving a project over from a local development environment to production?

我确定我不是唯一一个遇到此问题的人...

I am sure I can't be the only person who has run into this issue...

谢谢.

推荐答案

万一有人遇到同样的情况(如我一样),我将给我2美分:

In case someone arrives here with this same situation (as I did), my two cents:

我已经通过转储数据库并复制public/system在服务器之间成功迁移,因此这是完全可行和直接的.

I've successfully migrated between servers by dumping the database and copying public/system, so this is perfectly feasible and straightforward.

起初,这些图像既没有在后端也没有在前端显示,但是在停滞了几个小时之后,我意识到问题是我没有在新服务器中安装ImageMagick(巨大的facepalm).

At first the images were not showing neither in the backend nor in the frontend, but after a couple of hours stuck I realized the problem was that I hadn't installed ImageMagick in the new server (huge facepalm).

快速sudo apt-get install imagemagick解决了该问题.

当然,YMMV,但我希望能有所帮助.

Of course, YMMV, but I hope that helps.

这篇关于将RefineryCMS从本地转移到生产的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆