List of methods for script, to have updated list use (in bedita folder)
./cake.sh bedita help
- init: initialize a new BEdita instance from scratch
- initDb: initialize database with bedita-db sql scripts, new database with minimum data (BEdita user, basic groups one publication, one section, module data, )
Usage: initDb [-db ] [-data ] [-nodata] [-media ]
- -db use db configuration specified in config/database.php
- -nodata don't insert data
- -data use data dump, use absolute path if not in bedita-db/
- -media restore media files in
Usage: cleanup [-frontend ] [-logs] [-media]
- -frontend clean files in [use frontend /app path]
- -logs remove log files
- -media clean media files in 'mediaRoot' (default no)
Usage: export [-f ] [-compress]
- -f file to export, default bedita-export.tar.gz
- -compress gz compression (automagically applied if file extension is .gz)
- -nomedia don't export media files in tar
Usage: import [-f ] [-db ] [-y]
- -f file to import, default bedita-export.tar.gz
- -db use db configuration specified in config/database.php
- -y answer always 'yes' to questions...
Usage: checkApp [-frontend ]
- -frontend check files in [use frontend /app path]
- modules: simple operations on BEdita modules list/enable/disable
Usage: modules [-list] [-enable ] [-disable ]
- mimeTypes: update config/mime.types.php from standard mime.types file
Usage: mimeTypes -f
- updateObjectTypes: update object_types table