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 35 and Version 36 of servers/setup-condensed


Ignore:
Timestamp:
Jul 15, 2009, 4:47:21 PM (13 years ago)
Author:
hank
Comment:

work on how-to

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v35 v36  
    7575}}}
    7676
    77 === Install Duplicity / S3tools ===
    78 
    79 Duplicity is our preferred backup method.  Install s3tools for S3.
    80 
    81 {{{
    82 > sudo apt-get install duplicity python-boto s3cmd
     77=== Install Duplicity / S3tools / Rsync ===
     78
     79Duplicity is our preferred backup method.  Install s3tools for S3. Rsync for app syncing.
     80
     81{{{
     82> sudo apt-get install duplicity python-boto s3cmd rsync
    8383}}}
    8484
     
    9999=== Install MySQL ===
    100100Install MySQL with python db support mysqldb.
    101 
    102101{{{
    103102OLD: > sudo apt-get install mysql-server mysql-python
     
    119118}}}
    120119
    121 === Download SF App From !SilverFile Dev Server  ===
    122 On Dev Server export SF svn repo to create a clean copy:
     120=== Install SilverFile App ===
     121
     122'''On Dev Server export SF svn repo to create a clean copy:'''
    123123{{{
    124124rm -rf /usr/svn/sfexport
     
    126126}}}
    127127
    128 Create Initial Copy From Mercurial Repo (as hank):
     128'''Create app directory:'''
     129{{{
     130mkdir -p /usr/wwwapps/sf-app/
     131}}}
     132
     133'''Create Initial Copy From Mercurial Repo (as hank):'''
    129134{{{
    130135/usr/bin/rsync -av --timeout=300 --delete -e '/usr/bin/ssh -p 2240 -o ConnectTimeout=3' \
     
    137142}}}
    138143
    139 Create a unique secret key for production/settings.py:
     144'''Create a unique secret key for production/settings.py:'''
    140145cd /usr/wwwapps/sf-app/files/
    141146{{{
     
    145150>>> utils.django.new_secret_key()
    146151}}}
    147 
    148152Copy secret key into settings.py
     153
     154'''Copy DB credentials into settings.py'''
     155{{{
     156
     157}}}
     158'''Initialize App Database'''
     159{{{
     160python manage.py syncdb
     161}}}
    149162
    150163=== Configure SSL  ===