[size=24][color=red][b]前提:使用svn,使用ubuntu[/b][/color][/size]
1 安装ssh:
[code]sudo apt-get install openssh-client openssh-server[/code]
2 使用ssh登录远程服务器:
[code]ssh 用户名@服务器名[/code]
3 切换到工程目录下运行:
[code]svn update[/code]
4 运行数据库迁移任务:
[code]rake db:migrate[/code]
1 安装ssh:
[code]sudo apt-get install openssh-client openssh-server[/code]
2 使用ssh登录远程服务器:
[code]ssh 用户名@服务器名[/code]
3 切换到工程目录下运行:
[code]svn update[/code]
4 运行数据库迁移任务:
[code]rake db:migrate[/code]
本文介绍了在Ubuntu系统中使用SVN进行项目部署的具体步骤,包括安装SSH客户端和服务端、通过SSH连接远程服务器、更新SVN工作副本以及执行数据库迁移等关键操作。
766

被折叠的 条评论
为什么被折叠?



