Top.Mail.Ru
? ?
lj_dev, posts by tag: bootstrap - LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Files moved in livejournal repository [Mar. 12th, 2009|07:06 pm]
LiveJournal Development

soph
[Tags|, , , , ]

A friend of mine pointed out to me that a recent changeset in the livejournal repository moved several important files from their main directories to a backup/ directory.

This means that any new installs of the LJ code will need to run the following command after doing the initial --init:

cp -a $LJHOME/backup/* $LJHOME

This command will also be needed if you update your LJ code to a version past this changeset. If you don't do this, you won't have things like a homepage or create page.

However, there are also several images which were deleted, so you will also need to do the following:

for img in editinfo hourglass journal pencil scrapbook search userinfo; do svn export http://code.livejournal.org/svn/livejournal/trunk/htdocs/img/$img.gif@14809 $LJHOME/htdocs/img/$img.gif; done
link6 comments|post comment

bootstrapping LJ [Nov. 16th, 2006|03:30 pm]
LiveJournal Development

bradfitz
[Tags|]

I realized our docs have fallen out of sync from our tools lately, so here's an update on bootstrapping LiveJournal from subversion:

~$ cd $LJHOME
~/test-lj$ mkdir cvs
~/test-lj$ cd cvs/
~/test-lj/cvs$
~/test-lj/cvs$ svn co http://code.sixapart.com/svn/vcv/trunk vcv
~/test-lj/cvs$ svn co http://code.sixapart.com/svn/livejournal/trunk livejournal
~$ cd $LJHOME
~/test-lj$ cvs/vcv/bin/vcv --conf=cvs/livejournal/cvs/multicvs.conf --checkout -c -s

Then in the future, to stay updated:

~$ bin/cvsreport.pl -u -c -s

(cvsreport.pl is just a front-end to vcv)

Look at the vcv options to see how to use it.
linkpost comment

navigation
[ viewing | most recent entries ]