<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Site Builders'</title>
		<link>http://www.silverstripe.com/site-builders-forum/</link>
		

		
		<item>
			<title>Re: Running multiple websites using only one Sapphire library</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=75367</link>
			<description>I would recommend using symbolic links for this, on a unix/osx platform.&lt;br /&gt;&lt;br /&gt;You could set up your file system like so:&lt;br /&gt;&lt;br /&gt;/silverstripe&lt;br /&gt;  * /sapphire&lt;br /&gt;  * /cms&lt;br /&gt;  * /jsparty&lt;br /&gt;&lt;br /&gt;/site1&lt;br /&gt; * /mysite&lt;br /&gt; * /themes&lt;br /&gt;&lt;br /&gt;/site2&lt;br /&gt; * /mysite&lt;br /&gt; * /themes&lt;br /&gt;&lt;br /&gt;And then create symlinks to the sapphire, cms and jsparty directories from within site1 and site2.  Here is some shell script that will do that.&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;cd site1&lt;br /&gt;ln -s ../silverstripe/sapphire&lt;br /&gt;ln -s ../silverstripe/cms&lt;br /&gt;ln -s ../silverstripe/jsparty&lt;br /&gt;cd ../site2&lt;br /&gt;ln -s ../silverstripe/sapphire&lt;br /&gt;ln -s ../silverstripe/cms&lt;br /&gt;ln -s ../silverstripe/jsparty&lt;br /&gt;[/code]&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: Running multiple websites using only one Sapphire library</description>
			<pubDate>Mon, 19 May 2008 13:05:02 +1200</pubDate>
			<author>Sam Minnee</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=75367</guid>
		</item>
		
		<item>
			<title>Re: Running multiple websites using only one Sapphire library</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74654</link>
			<description>I think this feels like non-issue. The size of the sapphire library isn't that large (less than 3Mb) compared to the typical account qoutas on webservers. If there is such a need to save space, then maybe it's time to upgrade to a bigger account instead? Or maybe make a second?&lt;br /&gt;&lt;br /&gt;This might be a solution though(haven't tested it):&lt;br /&gt;* Make a local directory structure on which is the same as the one on your account.&lt;br /&gt;* In that directory structure, make softlinks to the appropriate folders.&lt;br /&gt;* Upload using FTP.&lt;br /&gt;&lt;br /&gt;I'm not 100% shure FTP supports softlinks, and the server might not allow it. It might be worth a try though.&lt;br&gt;&lt;br&gt;Posted to: Running multiple websites using only one Sapphire library</description>
			<pubDate>Sun, 18 May 2008 04:06:39 +1200</pubDate>
			<author> </author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74654</guid>
		</item>
		
		<item>
			<title>Re: Running multiple websites using only one Sapphire library</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74642</link>
			<description>if you have got shell access, you can use hardlinks ...&lt;br /&gt;but not much of us (so do i) have this :..(&lt;br&gt;&lt;br&gt;Posted to: Running multiple websites using only one Sapphire library</description>
			<pubDate>Sun, 18 May 2008 03:32:17 +1200</pubDate>
			<author>Helmut Zörrer</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74642</guid>
		</item>
		
		<item>
			<title>Re: Running multiple websites using only one Sapphire library</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74634</link>
			<description>Subscribe&lt;br&gt;&lt;br&gt;Posted to: Running multiple websites using only one Sapphire library</description>
			<pubDate>Sun, 18 May 2008 03:10:52 +1200</pubDate>
			<author>Dieter Orens</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74520?showPost=74634</guid>
		</item>
		
		<item>
			<title>Running multiple websites using only one Sapphire library</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74520</link>
			<description>i have a question about running multiple websites using only one sapphire library. It seems waste of space and inefficient to repeat copying the same code of sapphire library over and over for each website. However, i will keep the site specific folders such as tutorial or mysite and other folders will be kept seperately for each website. Of course, also a different database for each website. &lt;br /&gt;&lt;br /&gt;But I would like to keep only one signle copy of sapphire framework or library. Please shed some lights on me about this issue. Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;landzin&lt;br&gt;&lt;br&gt;Posted to: Running multiple websites using only one Sapphire library</description>
			<pubDate>Sat, 17 May 2008 19:15:40 +1200</pubDate>
			<author>kevin thant</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74520</guid>
		</item>
		

	</channel>
</rss>
