Duplicate site?

Permalink
I have had a look at the scrapbook tutorial etc - that is very helpful for time saving and template building within the site, but...

What about duplicating the whole site (not content or css changes etc) with the preset block, permissions and various parameters?

Is this possible sopme how?

drkirby
 
Remo replied on at Permalink Reply
Remo
You don't want to copy the content but you want to copy the permissions?

Doesn't make much sense since permissions are linked to pages which I consider being part of the content..

You can always copy a site (incl. content).
- Copy the files
- Export the database
- Import database on new server
- Modify config/site.php
drkirby replied on at Permalink Reply
drkirby
Ok I will try to make more sense...

I would like to copy the entire site including all the back end 'set up' meaning sitewide preferences, block layouts, page hireachy, permissions etc etc.

What I am saying is that I would like to install a new instance of concrete 5 and it be identical as another one without having to go through all the back end set up and building page templates etc etc...

Is this possible?

Thanks for your time in advance.

Dave.

I hope this helps?
frz replied on at Permalink Reply
frz
today we write an install script by hand that creates all the seed data you see when you setup concrete5. It's not technically the hardest thing on earth to do, but its very time consuming.

the idea of an import/export has long been in our heads, but hard to find the time to do it.
drkirby replied on at Permalink Reply
drkirby
Mmmmmm...

But if I really had my perfect set up, could you (in theory) create the files for me so that I could upload a new instance of it every time / with all the parameters intact?

I could pay you?

Is the import export option ever going to become a reality do you think?
frz replied on at Permalink Reply
frz
sure and sure.

hard to say how much it'll cost though. To give you a sense, even the small example site that comes with a default install would cost several hundred dollars to create in this way.

you can reach me at franz at concrete5.org
Remo replied on at Permalink Reply
Remo
that sounds like cloning a page..

this is what I described above. You can easily make a copy of a site by following the 4 steps I've mentioned.
drkirby replied on at Permalink Reply
drkirby
Thanks for your input Remo - I greatly appreciate it...

But would your solution keep all the backend set up the same?

As you can imagine it would be very time consuming to have to contasntly change this every time.

I could be potentialy making hundreds / thousands of copies of the site?

What are your thoughts...
Remo replied on at Permalink Reply
Remo
you would have to modify config/site.php to connect to your new database, but anything else would be identical..

all the stuff of c5 is stored as files or within the database. If you copy both you end up having an identical copy.

I decided to use a different way for myself. I created my own install controller which doesn't install all the blocks, installs just a single page type etc. Took me a while but I can now install a plain c5 with a very simple dummy template in just a few seconds..
drkirby replied on at Permalink Reply
drkirby
Thanks once again Remo.

I would love to be able to copy a comlete site, including all the content - this would be ideal...one problem...

I am a designer/artist - I have css//html//flash skills galore, but (as I guess as you probably have heard many times)the php stuff makes me slightly nervous!!

I am really sorry to be a pain, but would/could you give me a walkthrough on doing this? Never exported a database before!!

I genuinely appreciate your time in advance.