From 1d7f4c62c7f2b9af41cd4d84ec6180ccdf0cbd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Tue, 21 Jan 2014 15:17:06 +0100 Subject: [PATCH] tools: add a script which export cms pages content --- tools/export_pages_data.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/export_pages_data.sh diff --git a/tools/export_pages_data.sh b/tools/export_pages_data.sh new file mode 100755 index 0000000..775a8bb --- /dev/null +++ b/tools/export_pages_data.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +portail-citoyen-manage dumpdata sites cms cmsplugin_text_wrapper file \ + googlemap link picture snippet teaser video login_plugin data_source_plugin \ + a2_service_list_plugin feed_plugin > pages.json