use 'capistrano'
程序员文章站
2022-05-10 17:21:51
...
Start to use capistrano
1 add " gem 'capistrano'" a new line to Gemfile
2 run: bundle install
3 # apt-get install openssh-server
[/color]
ssh yourname@localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 07:f7:49:20:90:37:9e:54:c0:9e:a1:ca:0f:6d:30:08.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Linux chenjing-laptop.beaumaris.net 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
You have mail.
Last login: Tue Nov 16 10:42:22 2010
[color=red]
4 run:
$ bundle pack
$ git add Gemfile.lock vendor/cache
$ git commit -m "bundle gems"
5 run:
$ git remote add origin ssh://user@host/~/git/depot.git
$ git push origin master
Then it will work
1 add " gem 'capistrano'" a new line to Gemfile
2 run: bundle install
3 # apt-get install openssh-server
[/color]
ssh yourname@localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 07:f7:49:20:90:37:9e:54:c0:9e:a1:ca:0f:6d:30:08.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Linux chenjing-laptop.beaumaris.net 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
You have mail.
Last login: Tue Nov 16 10:42:22 2010
[color=red]
4 run:
$ bundle pack
$ git add Gemfile.lock vendor/cache
$ git commit -m "bundle gems"
5 run:
$ git remote add origin ssh://user@host/~/git/depot.git
$ git push origin master
Then it will work
推荐阅读
-
浅谈vue.use()方法从源码到使用
-
Vue源码之关于vm.$delete()/Vue.use()内部原理详解
-
浅谈Vue.use的使用
-
create database ,drop database ,show Databases,use 数据库 ,怎么使用?
-
Dapper use Table Value Parameter in C# (Sql Server 数组参数)
-
How to run and use SWF To Image on x64 Windows
-
unable to boot - please use a kernel appropriate for your cpu的解决方法
-
Python socket.error: [Errno 98] Address already in use的原因和解决方法
-
提高网页的效率 Use YSlow to know why your web Slow
-
新装MySql后登录出现root帐号提示mysql ERROR 1045 (28000): Access denied for use的解决办法