Multiple sites

Permalink
I have read a few threads on this subject but am not clear as to the best way to do this so could do with a little help please guys.. thanks!

I am running MAMP on an imac with one site and would like to know if C5 can handle adding one or more sites to this config. either by simply have more than one c5 folder and or having additional databases?

I'm a designer so need to have a few different sites available until they are completed and then I can upload them to the clients host, backup and effectively delete them from my system.

Thanks for any help.

appleman
 
frz replied on at Permalink Reply
frz
yes just setup multiple copies of concrete5 and databases, one for each project. Same way you would multiple copies of drupal or anything else.

There are ways to centralize the core directory if you're running a hosting setup, but that doesn't sound like your core challenge.
appleman replied on at Permalink Reply
appleman
Thanks frz, that's good news!

I know how to make a new database using MAMP and the SQLiteManager, but not sure how to get back to the initial setup for another install of c5.

I'm not super good with the tech bit... sorry.
appleman replied on at Permalink Reply
appleman
I think I have worked out how to do the multiple sites thing.

I created a new empty database using PHPmyadmin.

Then used the info on this link:http://www.concrete5.org/documentation/installation/moving_a_site/...
I downloaded a clean install of C5 and uncompressed it into my htdocs directory and renamed the folder.

I then applied the logic described in the link above to my local installation by editing the site.php file in the config folder adding the correct database name I created earlier and the name of the renamed C5 folder.

I then used my browser to access that new folder at localhost:8888 and installed C5 using the default settings with the exception of my new database name.

To my surprise and delight it all worked!

I'm getting to really like C5 the more I dig under the bonnet.