themccallister / craft
Install Craft CMS from the command line.
Requires
- guzzlehttp/guzzle: 4.2.*
- symfony/console: 2.7.*
This package is not auto-updated.
Last update: 2022-02-01 12:42:14 UTC
README
#Craft Command Line Installer
Manage Craft from the command line with composer. This tool is heavily inspired by the Laravel Installer.
Requirements
Installation
-
Ensure that the
~/.composer/vendor/bin
is available in your terminal PATH.Note: my Oh My ZSH profile has this line:
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/username/.composer/vendor/bin"
Note: make sure you change
username
above -
Require
craft
globally by using this command:composer global require "themccallister/craft=dev-master"
-
Change to a new directory, such as
~/Sites
, and runcraft install mywebsite.com
.
Contributing
Pull requests, contributions, issues and feature requests are always welcome... Although I would prefer a pull request for new features... ;)