Code Monkey home page Code Monkey logo

cast's People

Contributors

opengeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fi1osof realetive

cast's Issues

ModX Content Synchronization

Is there a way to modify the .castattributes to synchronize only certain resources (and other db elements associated with that resource)? I have all elements as static so version control (git) handles the code, however not the db element associated with a particular resource.

Also, is there a way to "merge" during unserialization, instead of "overwrite"?

I think I have narrowed down the modx objects necessary for synching content to the following, but please let me know if I left any out:

  • modCategoryClosure
  • modElementPropertySet
  • modTemplateVarTemplate
  • modPropertySet
  • modResourceGroupResource
  • modTemplateVarResource
  • modTemplateVarResourceGroup
  • modCategory
  • modResource
  • modResourceGroup
  • modChunk
  • modTemplate
  • modTemplateVar
  • modSnippet

Lastly, is there a way to synchronize installed add-ons/components (the db elements) using cast?

Thank you in advance.

Passing config to cast.phar

How exactly should configuration like the model path be passed to Cast when using the phar method?

I setup /home/user/cast_experiment/ and in that folder I have a config.core.php to point Cast to the MODX core folder, and a .gitconfig file with the following contents:
[code][cast]
serialized_model_path = /home/user/cast_experiment/mymodel/[/code]
but when doing php cast.phar status it still serialises it to /home/user/public_html/.models/.

Pretty sure I don't have to explain why I want the models to be serialised in a public location :P

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.