Kickoff Installer
Kick start the development of your new website or web application. Hit the ground running with pre-configured Gulp tasks, linter configurations, a sensible directory structure and default meta files., (*1)
Installation
The Kickoff Installer requires the PHP package manager. Visit the Composer website for instructions on how to install it on your system., (*2)
Once you have Composer installed, you will need to require the installer as a global dependency:, (*3)
composer global require "club/kickoff-installer"
, (*4)
Make sure that you've added the composer bin directory (~/.composer/vendor/bin
or similar) to your PATH, otherwise your system will not be able to find the installer., (*5)
A quick Google search should help you find out how to add to your PATH. If you use fish shell it's as easy as running set --universal fish_user_paths $fish_user_paths ~/.composer/vendor/bin
in your terminal., (*6)
Framework Support
The installer supports the following frameworks:, (*7)
It is built so you can easily add support for additional frameworks/platforms without much fuss., (*8)
Kickoff + CraftCMS Usage Example
Create a new project directory and navigate into it:, (*9)
$ mkdir my-new-site && cd my-new-site
then run:, (*10)
$ kickoff new CraftCms
This will download and install Kickoff, followed by CraftCMS and then configure the default CraftCMS install to work with Kickoff – including updating the default directory structure., (*11)
Clean Installs
If you would rather omit Kickoff and get you a clean install of the framework/platform you can use the --clean
option., (*12)
e.g., (*13)
$ kickoff new CraftCms --clean
Custom Configuration
Each framework installer has it's own configuration. If you would like to make changes to the default settings you can use the config
command. This will generate a configuration file (kickoff.json
) for the specified framework installation script., (*14)
An example use case would be configuring the directory structure of a CraftCMS installation. Running kickoff config CraftCms
would generate the necessary config file, which you can then customise to your individual needs., (*15)
Remember, you need to run kickoff config framework-name
and make your changes before running kickoff new framework-name
., (*16)
Credits
Inspired by Laravel and the Laravel Installer., (*17)
Roadmap
- Have
kickoff new CraftCms --clean
command restructure directories if a config file is present
- Add support for a skeleton Symfony application