我已经成功安装了NetBeans和Symfony2,并在本地运行了我的第一个Hello World。我一直在寻找是否有任何简单的步骤方式将其部署到服务器上,或者将我的情况部署到另一个目录(只是为了测试)。但我仍不确定这将如何工作。我在这方面花了太多时间,我想我会试着给StackOverflow一个。我正在使用XAMPP在Windows上工作。Symfony2部署过程 - windows
-1
A
回答
1
+0
丹尼斯,我回复了你的下面! – jack 2013-05-04 12:30:51
0
丹尼斯,为了运行“gem install capifony”,我不得不安装Ruby2.0,然后安装RubyGems。到目前为止,我在“应用程序/配置/ deploy.rb”下面的代码:
set :application, "set your application name here"
set :domain, "#{application}.com"
set :deploy_to, "/var/www/#{domain}"
set :app_path, "app"
set :repository, "#{domain}:/var/repos/#{application}.git"
set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none`
set :model_manager, "doctrine"
# Or: `propel`
role :web, domain # Your HTTP server, Apache/etc
role :app, domain # This may be the same as your `Web` server
role :db, domain, :primary => true # This is where Symfony2 migrations will run
set :keep_releases, 3
# Be more verbose by uncommenting the following line
# logger.level = Logger::MAX_LEVEL
现在我怎样才能改变这种从部署我的项目“C:\ XAMPP \ htdocs中\ FirstProject”(其中包含部署.rb)例如“C:\ xampp \ htdocs \ FirstProject1”(空!)!
相关问题
- 1. 部署过程
- 2. Symfony2的Web应用程序部署
- 3. SVN部署过程
- 4. Codeigniter部署过程
- 5. 在Bluemix上部署Symfony2
- 6. ASP.NET正确部署过程
- 7. 软件部署过程
- 8. 开发过程,部署,GitHub
- 9. Umbraco窗体部署过程
- 10. Windows窗体部署
- 11. Windows服务部署
- 12. 通过SD卡部署Windows Phone应用程序错误
- 13. 如何通过互联网部署Windows应用程序
- 14. 通过Visual Studio for Windows部署Xamarin iOS应用程序
- 15. 发布windows应用程序 - ClickOnce部署
- 16. Windows 8应用程序部署
- 17. 部署Windows 8.1商店应用程序
- 18. 将Mono应用程序部署到Windows
- 19. 部署Release C#windows应用程序
- 20. 部署VB.NET Windows窗体应用程序
- 21. 部署目录的远程Windows Server
- 22. 从Linux部署Qt程序到Windows
- 23. 在Amazon Web Services上部署Symfony2
- 24. Symfony2手动部署时该怎么办?
- 25. 在部署symfony2后得到500响应
- 26. Symfony2 - 部署缓存没有setfacl
- 27. 用capifony部署Symfony2项目时出错
- 28. Symfony2部署到ubunt服务器
- 29. 部署程序
- 30. Visual Studio 2010在部署过程中部署视图太迟
你在使用什么服务器? – cheesemacfly 2013-05-03 23:43:33
首先,您应该尝试阅读[documentation](http://symfony.com/doc/current/cookbook/deployment-tools.html)。 – 2013-05-04 01:07:26
即时通讯使用Apache和MySQL,本质上是运行xampp ..我有的第一个项目是在C:\ xampp \ htdocs \ FirstProject – jack 2013-05-04 10:26:19