Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

What is the best way of installing a new module via SVN?


Go to End


3 Posts   1043 Views

Avatar
Tama

Community Member, 138 Posts

1 April 2010 at 9:31am

I've recently started using SVN as version control for our new Silverstripe. Unfortunately I'm a bit of a n00b when it comes to SVN and want to make sure I'm doing things properly so I don't cause myself more problems further down the line.

For a kick off I'm trying to work out how to add a new module via SVN install of just downloading the tar.gz file and extracting directly into the file system.

For example I'd like to install the User Forms module: http://svn.silverstripe.com/open/modules/userforms/trunk/

What commands (or Tortoise options) should I use to install this to a /userforms/ directory in my working copy?

Thanks in advance

Tama

Avatar
UncleCheese

Forum Moderator, 4102 Posts

1 April 2010 at 9:37am

I'm not sure about Tortoise, but what I do is keep only my "mysite" directory in my local copy, so it can have its own repository. Modules I check out right on the server. That way I can update them all asynchronously from the rest of my code.

svn co http://svnurl.com/trunk the_module_directory_you_want

Avatar
Tama

Community Member, 138 Posts

1 April 2010 at 10:19am

Thanks for that Uncle Cheese.