Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-10 11:02:55

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

New Install from SVN

is this still valid or have things changed, it’s something Dean wrote? I’m looking to do a new install from SVN and keep it upto date with the latest changeset.

Thanks, Lee.

To do a clean install:

cd to wherever you want the site to be

checkout the code
svn co http://svn.textpattern.com/current/

move the new code up and out of the download dir
mv current/* ./; mv current/.??* ./; rm -R current/;

Load the whereveritis.com/textpattern in a browser for further instructions

Now you have a Textpattern installation under version control. Whenever you want to update from the public repository, simply type:
svn update

in the same directory as the top-leve index.php and svn will integrate updates with your existing code. Whenever you do, type:
svn log

to see what changes/additions have been committed.

Offline

#2 2005-10-10 11:35:37

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: New Install from SVN

No it is not valid, because things have changed.
And I would not recommend to use svn as an enduser for a live-site any longer:

http://textpattern.com/weblog/47/when-to-use-releases-and-not-subversion

If despite that advice you prefer to use svn (maybe for a test and play site), here’s some advice:

You should be willing to read and learn a bit about subversion.

The branch from which 4.0.x releases are made is now located at:
http://svn.textpattern.com/development/4.0/

Also it is probably safer to checkout to a private directory and then export into the other directory which is used by the webserver. That way you can svn update and resolve conflicts without affecting the actual site, and only export when you are sure things should work.

Offline

#3 2005-10-10 11:39:38

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: New Install from SVN

Downloading from svn is covered in the FAQ.


Alex

Offline

#4 2005-10-10 12:12:04

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: New Install from SVN

Thanks for the info guys.

So if I repalce/current with /releases I’ll be checking out the latest stable version – correct?

Offline

#5 2005-10-10 12:27:41

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: New Install from SVN

No, that’s not how it works. The repository is available via HTTP so you can just take a look at what you will find where:

http://svn.textpattern.com/releases/

If you want to check out the latest release right now, you would checkout : http://svn.textpattern.com/releases/4.0.1/source/ and when the next release becomes available you would svn switch your repo to http://svn.textpattern.com/releases/4.0.2/source/ and so on.

Offline

#6 2005-10-10 15:12:46

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: New Install from SVN

Textbook also has some related information.

Offline

#7 2005-10-10 15:16:41

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: New Install from SVN

Thanks Elenita – that,s exactly what I need. I did look on TB but didn’t find this.

Offline

Board footer

Powered by FluxBB