We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

From dev to production tips

How Do I?

vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

I’m curious how other people manage their migration from local development to the production site.

Not talking about the files that can be used with a repository, sync, etc.

But the fields and channels, categories and other settings. They clearly will have different ID’s in the database, which mean you cannot just sync the database directly from dev to pro. Do you guys actually create every field, channel, then manually on the live site once your code is ready and working? This seems very annoying, having to do it from the interface one by one. In particular for larger sites.

       
5BYFIVE Creative's avatar
5BYFIVE Creative
159 posts
4 years ago
5BYFIVE Creative's avatar 5BYFIVE Creative

Are you talking about a brand new site locally, moving to live? Or are you talking about making edits to a local install and then needing them synced to the live server?

       
5BYFIVE Creative's avatar
5BYFIVE Creative
159 posts
4 years ago
5BYFIVE Creative's avatar 5BYFIVE Creative

Are you talking about a brand new site locally, moving to live? Or are you talking about making edits to a local install and then needing them synced to the live server?

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

From local development install sync changes to live. Not a new site, but existing one.

       
5BYFIVE Creative's avatar
5BYFIVE Creative
159 posts
4 years ago
5BYFIVE Creative's avatar 5BYFIVE Creative

If the content hasn’t been updated on the live site, you could completely overwrite the live DB with the local DB and not have any issues. Other than that, changes to fields, channels, content, etc. would need to be added manually or imported in with an import plugin.

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

That is already how it’s done today. I was just wondering if someone was using a different strategy that was quicker, since the ID’s will not match between dev and production you can’t just update the schema and expected it work exactly, this is true for some fields like the upload folder which requires ID numbers instead of names.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.