ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Production and LIVE Environments - Is it possible?

November 22, 2010 7:26pm

Subscribe [3]
  • #1 / Nov 22, 2010 7:26pm

    Adeeb Khan

    7 posts

    Hi Guys,

    I would like to setup a Production and LIVE version of the site for a client of mine. I can’t seem to find anything which documents how to go about doing this.

    I am a little worried in providing my client with full access to the full live version of the site as anything could possibly go wrong. I would prefer for them to make content updates etc and then I deploy the update onto the LIVE server. This approach also gives me an opportunity to develop onto the site without breaking the LIVE version.

    Thanks Guys

  • #2 / Nov 22, 2010 7:53pm

    3Easy

    44 posts

    Hi Adeeb,

    First up, this doesn’t really fit in a “Technical Support” forum so the moderators may move it. Furthermore, the lack of documentation is in a similar bucket in that there are so many *processes* one could choose in your situation, it’s going to be hard for EllisLab to document them all. All said, it’s a good question and you’ll definitely find a lot of talk around the dev/live problem.

    For the client, its good practice to set up a Member Group for the site editors and selectively restrict access for that group, allowing them to see the Content menu and only other menus where required so they can’t change Admin setting or Design for example. It is possible to restrict Statuses by Member Groups too, so you could stop the editors from setting a status to Open until after your review. There is a lot to be said for training, and after all its the client’s site and a content management system should empower them and help keep them safe, right?

    The dev/live is really a separate issue, in that maintaining versions of the site to manage content isn’t a best practice but is definitely encouraged for development. If you’re a lone soldier, setting up a local version of the site is a good bet: install EE locally, copy in your templates, make copies of your production database periodically and import into the local environment (it doesn’t matter if the content is a day or two out of date in development, right?). Then you can push the updated templates onto the server. Creating a dynamic config.php file is all the rage at the moment: http://eeinsider.com/articles/multi-server-setup-for-ee-2/

  • #3 / Nov 23, 2010 2:39am

    John Henry Donovan

    12339 posts

    Adeeb,

    3Easy is right, this doesn’t really suit Technical Support so moving it for you. He does give a good overview though. Leevi has a config bootstrap which was build after inspiration from Jamie’s talk at EECI.

    I myself have started using https://www.codebasehq.com/ along with http://www.deployhq.com

    So I have a local dev environment which I push code changes to codebase and then do deploys to a staging or production environment. The deployhq site allows you to add config files that are pushed up after a deeploy so you can keep different sets for different sites. I haven’t figured out a completely automated workflow for the db side of it yet but working on it. And there are still certain items that cant be updated from config.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases