User:Exor674/Production Setup Notes

From Dreamwidth Notes
< User:Exor674
Revision as of 05:32, 14 February 2011 by Exor674 (Talk | contribs)

Jump to: navigation, search

These are just notes, pending conversion to a proper page.

Chat Log

( redacted, and just -- so some responses might seem weird, but this is all the steps )

13:34 <exor674> so, best thing to do is create a new folder in cvs with the name of what you want your site to be
13:36 <exor674> ( this dir is now referred to as $dir )
13:37 <exor674> create $dir/cvs/multicvs-local.conf with the text ( see below )
13:37 <exor674> then copy that file to $LJHOME/cvs
13:40 <exor674> create a file $dir/bin/upgrading/text-local.dat with something LIKE the contents of 
                http://hg.dwscoalition.org/dw-nonfree/file/f6afd79096a9/bin/upgrading/text-local.dat ( except using en_XX where 
                XX are two characters you want to use to identify your site, and English (Something) instead of English (DW)
13:40 <exor674> en_XX instead of en_DW
13:41 <exor674> then in one of your config files ( I am not sure which one it's in ), you'll have an instance of en_DW -- 
                change that to en_XX
13:42 <exor674> then you'll have to create $dir/htdocs/_config-local.bml with the text ( see below )
13:43 <exor674> once you've done all that, run $LJHOME/bin/cvsreport.pl -sync, hopefully it moves the files over from $dir to 
                your live dir
13:43 <exor674> rerun texttool, restart apache and things should work
13:44 <exor674> ( importantly, make sure $IS_DEV_SERVER = 0; for your site in your config files
13:44 <exor674> ofc, I actually think oyu have that off given the error you got so ignore me there ! )
13:58 <exor674> I'll try to get this in the docs at some point, not that *you* need it now
13:58 <exor674> yeah


$dir/cvs/multicvs-local.conf

<$dir, the name -- not the full path>   .

$dir/htdocs/_config-local.bml

DefaultLanguage en_XX