17487 Posts in 4473 Topics by 1978 members
|Go to End|
10 September 2008 at 3:11am
I'm new to SilverStripe and have to say... it's great! I have a site/project up and running perfectly on my localhost.
I now want to start a new site on my localhost. I'm not sure how i should be doing this? I tried to download SilverStripe again (renamed folder) and followed same instructions to install on wamp server however this messed up my first project.
If someone could clarify this for me.
Very much appreciated.
10 September 2008 at 3:58am
I don't know how WAMP works , but maybe the easiest solution would be to put the different Silverstripe installations in their own subdirectory in the webroot.
10 September 2008 at 4:35am
Thanks Fuzz10. My current project is installed in /wamp/www/project1
I tried to install fresh silverstripe files into /wamp/www/project2
but this seemed to mess up my first project for some reason. After installation, it used the default blue template but picked up the content of my first project. Then my first site lost some of it's formatting.
Is this the correct method... and i did something wrong?
Am i trying to install into the incorrect directory?
10 September 2008 at 11:37am
Should work fine if you have them in separate folders eg projecta, projectb and you should also install them on different databases so if you make a change to the code in 1 it doesnt affect the other.
11 September 2008 at 12:44am
Thanks Willr. How do i go about installing on different databases? When i initially installed Silverstripe it created it's own database automatically. Is this new database something that i can create an installation set-up of Silverstripe or do i configure it prior to installing?
11 September 2008 at 10:11am
When you run the installer it will ask for a database name. You can just make this a different value every time. Thats if you run the installer for each project.. If instead you just copied the files from 1 folder and pasted again in the new folder then you will need to edit the database config file - in /mysite/_config.php you need to edit the "database" => "MySite", string so that each project has a separate database.
12 September 2008 at 9:33pm
Brilliant. Thanks Willr.
|Go to Top|