fusioncms / cli
CLI tool to install FusionCMS
v3.0.2
2021-02-18 20:15 UTC
Requires
- php: ^7.2.9|^8.0
- symfony/console: ^4.0|^5.0
- symfony/filesystem: ^4.0|^5.0
- symfony/finder: ^5.2
- symfony/process: ^4.2|^5.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
CLI tool to install FusionCMS
Install
Global Install (recommended):
$ composer global require fusioncms/cli
Local Install (within your project folder):
$ composer require fusioncms/cli
Global Usage
In order to run the fusion
from anywhere you will first need to update your system's $PATH
variable.
Find the location of your global composer vendor/bin
directory:
$ composer config --list --global | grep -w home > [home] /Users/{username}/.composer
Next, add the following to ~/.zshrc
or ~/.bashrc
(substituting [home]
from above):
$ export PATH=[home]/vendor/bin:$PATH
Update
Update to the latest release:
Global:
$ composer global update fusioncms/cli
Local (within your project folder):
$ composer update fusioncms/cli
Usage
Download a fresh copy of FusionCMS (with Laravel).
$ fusion new my-project
This create a new folder
my-project
in the current directory.