Developer wanted to automate some tasks when package is installed

Permalink
Hello all!

We are looking for a Concrete 5 developer for a little job.
At the moment we build websites following the following step-by-step guide:

http://www.clients.tourvista.co.uk/vt/zip/c5/build_a_website_using_...

The thing is, after installing our package, which includes a theme, we always have to do the steps from 6 to 19 (included).
This steps include:

- Tweak some Concrete5 settings.
- Install other packages.
- Add page-types
- Create some pages and assign them a design
- Create some Stacks
- Upload some images to be used as dummy content
- Add dummy content to the webpages

This task is always the same and very time consuming, so we would like,if it's possible, to automate all this, when the package is installed.

Thank you very much.

RafaelGP
 
JohntheFish replied on at Permalink Reply
JohntheFish
Have you thought of turning the problem round?

Create a reference site will all that stuff already in place. Then for each project, clone the reference site (either by hand or Backup Voodoo), so you never need to start from a fresh install.

There will still be site specific settings to make and you will need to change the marketplace connection and assign licences, but all the donkey work will already be done. The other stuff will be site specific whichever way you do it.

EDIT. This would also be easier to maintain, as you won't have a process specific set of code to revise with each change. Just change the reference site and make a new clone.
jshannon replied on at Permalink Reply
jshannon
That's a good point. Also, have you looked into the "starting point" packages in c5?

James
mhawke replied on at Permalink Reply
mhawke
I have fought with 'Starting Points' and I have to say they aren't quite 'ready for prime time'. They crash often and not very gracefully so debugging is tough. It's a great concept with lots of potential but I'm not sure the core team has spent much time on it lately.
jshannon replied on at Permalink Reply
jshannon
Not surprised to hear this. I looked at it a few versions ago and it was quite lacking.... very much "made to order" for a specific purpose....
RafaelGP replied on at Permalink Reply
RafaelGP
Thanks for your suggestion JohntheFish but in my opinion installing a package that has everything included is much easier than cloning a 'template-site'.

It's a good idea though!
hereNT replied on at Permalink Reply
hereNT
I don't have syntax for importing images, but most of everything else that you need is documented in the package controller for this addon I wrote:

http://www.concrete5.org/marketplace/addons/c5-boilerplate...

It's designed to help developers get a jumpstart on things exactly the way you are needing. You could modify it to work with your base system, and then customize as needed on a site-by-site basis if any of them need different configurations.

I need to modify one aspect of it though, hoping to have that deployed tonight or tomorrow. The installation of page types deletes the page type if it exists and then re-adds it so that the package is associated with it. That causes issues when upgrading, because then your pages don't have a page type at all, and you can't edit properties because of a PHP error.
hereNT replied on at Permalink Reply
hereNT
The change I mentioned has been deployed in the c5_boilerplate package.
RafaelGP replied on at Permalink Reply
RafaelGP
You are right, your package do almost all I'm asking for.
Why I haven't found about it before?

Anyway, I already contacted a developer who might get this done 3 times faster than me using c5-boilerpalate.

If I were a better programmer and had more time available I'd use your package :-D
Arequal replied on at Permalink Reply
Arequal
Take a look here:http://www.concrete5.org/marketplace/addons/basic-package-for-devel...

It has a lot of automatic process when it is installed or upgraded
RafaelGP replied on at Permalink Reply
RafaelGP
This looks promising! I'll install it in a test site to have a better idea of what it can do.

Cheers!
Arequal replied on at Permalink Reply
Arequal
Thank you for your words!
Feel free to contact me if you need more feedback about it.