我的办公室正在扩大,我的任务是为我们的web开发建立IT。
在小组环境中进行web开发最好的工具/设置是什么?需求是一个集中的代码库,一个测试开发代码的位置,最后是一种将标记的代码推送到临时服务器的方法。我想的是svn/redmine for code repo,每个用户在中央开发机器上都有一个帐号,以允许ssh访问(Eclipse over ssh),并在开发服务器上拥有自己的虚拟主机,这为每个人提供了一个集中开发沙箱。代码在这个dev机器上编写和测试,然后签回到svn中,然后标记并推送到临时服务器。嗯?有什么想法、评论或建议?
*另外,在开发环境中,处理数据库的最佳方式是什么?从生产数据库
我正在遵循这个官方文档
我运行了命令rails test:integration,但是它显示了这个错误
rails aborted!
ActiveRecord::EnvironmentMismatchError: You are attempting to modify a database that was last run in `development` environment.
You are running in `test` environment. If you are sure you want to continue, first set the environment us