Command line interface (CLI) for Joomla.
Clone or download
stevenrombauts Merge pull request #95 from MooCloud-Hosting-Provider/feature/existen…
…t-db

Added an option to use existent databases in site:install
Latest commit c73b750 Oct 28, 2018

README.md

Screenshot

Joomlatools Console

Joomlatools Console simplifies the management of Joomla sites. It is designed to work on Linux and MacOS. Windows users can use it in Joomlatools Vagrant box.

Installation

  1. Install using Composer:

$ composer global require joomlatools/console

  1. Tell your system where to find the executable by adding the composer directory to your PATH. Add the following line to your shell configuration file called either .profile, .bash_profile, .bash_aliases, or .bashrc. This file is located in your home folder.

$ export PATH="$PATH:~/.composer/vendor/bin"

  1. Verify the installation

$ joomla --version

  1. To create a new site with the latest Joomla version, run:
   joomla site:create testsite

The newly installed site will be available at /var/www/testsite and testsite.test after that. The default Super User's name and password is set to: admin / admin.

By default, the web server root is set to /var/www. You can pass --www=/my/server/path to commands for custom values. You can choose the Joomla version or the sample data to be installed:

  joomla site:create testsite --joomla=2.5 --sample-data=blog
  1. For other available options, run:

$ joomla --list

  1. Read our documentation pages to learn more about using the tool.

Development

To setup the tool for development:

  1. Clone the repository:
git clone git@github.com:joomlatools/joomlatools-console.git
  1. Fetch the dependencies:
composer install
  1. Now you can execute the tool with:
bin/joomla list
  1. Happy coding!

Requirements

  • Git
  • Composer
  • Joomla version 2.5 and up.

Contributing

Joomlatools Console is an open source, community-driven project. Contributions are welcome from everyone. We have contributing guidelines to help you get started.

Contributors

See the list of contributors.

License

Joomlatools Console is free and open-source software licensed under the MPLv2 license.

Community

Keep track of development and community news.