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.

Changes between Version 56 and Version 57 of servers/setup-condensed


Ignore:
Timestamp:
Mar 24, 2010, 7:37:26 PM (13 years ago)
Author:
hank
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v56 v57  
    141141
    142142=== Install !SilverFile App ===
    143 ''' Create distribution package '''
    144 On instance with access to mercurial repository, hg clone and/or hg update to latest version
    145 {{{
    146 .../sf-app/ > scons sdist
    147 }}}
    148 Move the dist/..tar.gz file to the new instance
     143
    149144
    150145'''Create app directory:'''
     
    153148}}}
    154149
    155 '''Create Initial Copy From Mercurial Repo (as hank) - DEPRECATED:'''
    156 {{{
    157 /usr/bin/rsync -av --timeout=300 --delete -e '/usr/bin/ssh -p 2240 -o ConnectTimeout=3' \
    158   hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/configs \
    159   hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/files \
    160   hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/utils \
    161   hank@dev.silverfilecorp.com:/usr/hg/repos/sf-app/third_party \
    162   hank@dev.silverfilecorp.com:/usr/svn/sfexport/app_skins/production \
    163   /usr/wwwapps/sf-app/
    164 }}}
    165 
    166 '''Create symbolic links in production media - DEPRECATED:'''
    167 {{{
    168 ln -s /usr/wwwapps/sf-app/files/media/js/admin-path.js /usr/wwwapps/sf-app/production/media/js/admin-path.js
    169 ln -s /usr/wwwapps/sf-app/files/media/js/path-suggest.js /usr/wwwapps/sf-app/production/media/js/path-suggest.js
    170 ln -s /usr/wwwapps/sf-app/third_party/jquery-autocomplete/jquery.autocomplete-current.min.js /usr/wwwapps/sf-app/production/media/js/path-suggest.js
    171 ln -s /usr/wwwapps/sf-app/third_party/jquery-json/jquery.json-current.min.js /usr/wwwapps/sf-app/production/media/js/jquery.json-current.min.js
    172 ln -s /usr/wwwapps/sf-app/third_party/jquery/jquery-current.min.js /usr/wwwapps/sf-app/production/media/js/jquery-current.min.js
    173 
    174 ln -s /usr/wwwapps/sf-app/files/media/css/admin.css /usr/wwwapps/sf-app/production/media/css/admin.css
    175 ln -s /usr/wwwapps/sf-app/files/media/css/admin-path.css /usr/wwwapps/sf-app/production/media/css/admin-path.css
    176 ln -s /usr/wwwapps/sf-app/files/media/css/jquery.autocomplete-current.css /usr/wwwapps/sf-app/production/media/css/jquery.autocomplete-current.css
    177 }}}
     150''' Files are located in: /usr/silverfile on jump.silverfilecorp.com '''
     151{{{
     152scp -P 2222 -r <user>@jump.silverfilecorp.com:/usr/silverfilecorp/sf-app/dist/files-0.2.tar.gz files.tar.gz
     153scp -P 2222 -r <user>@jump.silverfilecorp.com:/usr/silverfilecorp/utils utils
     154scp -P 2222 -r <user>@jump.silverfilecorp.com:/usr/silverfilecorp/production production
     155}}}
     156
     157''' Uncompress files tar/gzip '''
     158{{{
     159tar -zxvf files.tar.gz
     160mv files-0.2/files /usr/wwwapps/sf-app/files
     161rm files.tar.gz
     162rm files-0.2
     163}}}
     164
    178165
    179166'''Create a unique secret key for production/settings.py:'''
     
    294281{{{
    295282cd /usr/local/bin/
    296 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/3ware-twcli/tw_cli tw_cli
    297 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/3ware-twcli/tw_status tw_status
     283scp -P 2222 <user>@jump.silverfilecorp.com:/usr/silverfile/scripts/tw_cli tw_cli
     284scp -P 2222 <user>@jump.silverfilecorp.com:/usr/silverfile/scripts/tw_status tw_status
    298285chmod 755 tw_cli
    299286chmod 700 tw_status
     
    390377cd /etc/samba/
    391378mv smb.conf smb.conf.org
    392 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/smb.conf.master smb.conf.master
    393 scp -P 2240 hank@dev.silverfilecorp.com:/usr/svn/sfexport/third-party/samba/recycle.conf recycle.conf
     379scp -P 2222 <user>@jump.silverfilecorp.com:/usr/silverfile/scripts/smb.conf.master smb.conf.master
     380scp -P 2222 <user>@jump.silverfilecorp.com:/usr/silverfile/scripts/recycle.conf recycle.conf
    394381chmod 644 smb.conf.master
    395382chmod 644 recycle.conf