close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 2, 2009, 9:13:57 PM (14 years ago)
- Author:
-
hank
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v20
|
v21
|
|
75 | 75 | }}} |
76 | 76 | |
77 | | #=== Install Mercurial === |
78 | | #Mercurial is installed for syncing latest app source. |
79 | | |
80 | | #{{{ |
81 | | #> sudo apt-get install mercurial |
82 | | #}}} |
83 | | |
84 | 77 | === Install Django === |
85 | 78 | The platform for our app. |
… |
… |
|
120 | 113 | Create Initial Copy From Mercurial Repo (as root): |
121 | 114 | |
122 | | mkdir -p /usr/wwwapps/sf-app/ |
123 | | cd /usr/wwwapps/sf-app/ |
124 | | scp -r -P 2240 hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/configs configs |
125 | | scp -r -P 2240 hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/files files |
126 | | scp -r -P 2240 hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/utils utils |
127 | | scp -r -P 2240 hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/third_party third_party |
128 | | |
129 | | |
130 | | First get private key for accessing mercurial repository, mercurial_key_rsa |
131 | | {{{ |
132 | | #!comment |
133 | | > mv mercurial_key_rsa .ssh/id_rsa |
134 | | > hg clone ssh://hg@dev.silverfilecorp.com:2240/sf-app |
135 | | }}} |
136 | | |
137 | | # Next copy sf-app to wwwapps directory: |
138 | | # {{{ |
139 | | # sudo mkdir -p /usr/wwwapps/ |
140 | | # sudo cp -r /home/user/sf-app /usr/wwwapps/sf-app |
141 | | # }}} |
| 115 | {{{ |
| 116 | /usr/bin/rsync -av --timeout=300 --delete -e '/usr/bin/ssh -p 2240 -o ConnectTimeout=3' \ |
| 117 | hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/configs \ |
| 118 | hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/files \ |
| 119 | hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/utils \ |
| 120 | hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/third_party \ |
| 121 | hank@dev.silverfilecorp.com:/home/hank/production \ |
| 122 | /usr/wwwapps/sf-app/ |
| 123 | }}} |
142 | 124 | |
143 | 125 | === Configure SSL === |