This is a script developed by Joomlatools to ease the management of Joomla sites.
It is designed to work on Linux and MacOS. Windows users can use it in Joomlatools Vagrant box
- Install using Composer:
$ composer global require joomlatools/joomla-console
- 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"
- Verify the installation
$ joomla --version
- 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.dev 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
- For other available options, run:
$ joomla --list
- Read our documentation pages to learn more about using the tool.
- Composer
- Joomla version 2.5 and up.
Fork the project, create a feature branch, and send us a pull request.
See the list of contributors.
The joomlatools/joomla-console
plugin is licensed under the MPL v2 license - see the LICENSE file for details.