2011-12-05 73 views
1

我在问这个问题,因为我一直在使用其他应用程序的部署步骤似乎不适用于热潮应用程序。如何使用capistrano部署热门应用程序

请建议我,如果我失去了一些东西:

在开发的Mac我运行下面的命令&我可以看到店内 在localhost工作:3000:

brew install imagemagick 

$ gem install rmagick 

$ rails new store 
  • 放大礼包中宝石文件

    $ bund

    $ rails g spree:site 
    
    $ rake db:bootstrap 
    

使用Capistrano的到应用程序部署到http://passionate4.net/我可以 以下命令:

$ cap deploy:setup 
$ cap deploy:cold 
$ cap deploy 

如果你看一下http://passionate4.net/我得到了一些错误。

这里是production.log看怎么样

[email protected]:/var/www/spree_store/current/log$ cat production.log 
Migrating to CreatePosts (20111113203521) 

根据上面的日志信息,当我看着MySQL数据库,我无法找到创建posts表。

我该如何解决这个问题?


供参考:它在本地主机上工作完美。

回答

相关问题