Code Monkey home page Code Monkey logo

Comments (2)

erikreagan avatar erikreagan commented on July 18, 2024

don't know if I'm doing anything wrong... but here's the situation:
I want to fetch the templates from the database in production.

I understand this problem 100%. I actually have a thread in the EE forums about this: http://expressionengine.com/forums/viewthread/179537/

Any ideas?

So, at this point you either have to manually sync templates or just use flat files in all environments.

What we do is keep the code above and manually sync template by way of sql commands. We dump the templates table from our dev environment and replace the production table with that when we need to sync the templates. It usually takes about 4 to 10 seconds using Navicat depending on the connection and table size.

Does that help?

My Goal

Ultimately I'd like to change some of that logic so that templates can be sync'd with that config option set to 'n'. It's not possible today, but it is on my radar for my work on the EE Reactor Team. Stay tuned :)

from ee-master-config.

vicrau avatar vicrau commented on July 18, 2024

ok, you have the same problem... :-)

Will have a look at Navicat. Tnx!

Keep us posted for updates,
and keep up the good work!

kind regards
Vic

from ee-master-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.