Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.
/ roadiz-cli-tools Public archive

Roadiz CLI application to create, copy and manage Roadiz instances

Notifications You must be signed in to change notification settings

roadiz/roadiz-cli-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roadiz CLI tools

For the moment only compatible with MySQL/MariaDB databases.

  • Copy database and files from a website folder to another
  • Create a new Roadiz website

Install

  • Run composer for dependencies composer install --no-dev -o
  • Copy config.default.yml to config.yml and adapt your commands to your system paths and MySQL server credentials.
  • Execute php roadiz-cli-tools roadiz:requirements to check if every binary is available.

Move websites contents

# Move roadiz1 to roadiz2 files and databases and backup roadiz2 contents
php roadiz-cli-tools roadiz:move -b /var/www/roadiz1 /var/www/roadiz2 roadiz1 roadiz2

Syntax: roadiz:move [-b|--backup] [--] <source> <destination> <source-database> <destination-database>

Using backup option, a /path/to/dest/roadiz_backup folder will be created to save documents files and SQL dumps.

About

Roadiz CLI application to create, copy and manage Roadiz instances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages