I recently wrote a django app that will help with managing and editing Expression Engine sites. I leveraged django for this because it was the easiest database api and it was able to generate the models from the EE database.
Check it out at http://github.com/nyxtom/django-ee
You will need to have django and this app in your python path.
Once you have that, copy over the two python management utilities (syncee.py and watchee.py).
syncee.py
This will generate your folder structure from an existing ee database. Run:
python syncee.py -f -v
-f forces overrides, -v displays things in verbose.
You can also run a full commit by running:
python syncee.py -f -v -c
-f forces overrides, -v displays things in verbose, -c commits everything from local. This method is not really necessary though since there is also:
watchee.py
Watchee will watch for changes in a directory including the snippets, global_variables and templates folder. Simply run the syncee to generate the structure and watchee.py to watch for local changes.
python watchee.py
Enjoy 😊
Also note that templates are generated as .ee.html files when they are webpages, .css when they are stylesheets, .js when they are javascript and .php when they allow php. I’m working on a .vim plugin for ee when I get the chance so it should be based on the .ee.html extension.
Let me know what you think 😊
[Mod Edit: Moved to the Community News forum]