Created
November 26, 2018 15:01
-
-
Save aronhoyer/809af84961cbd31671564c02c34f4eb8 to your computer and use it in GitHub Desktop.
Simple shell script to automate Craft project setup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################### | |
# Creates a Craft project in a given directory, and runs the Craft setup CLI | |
# Arguments: | |
# Path to directory | |
####################################### | |
function mkcraft() { | |
composer create-project craftcms/craft $1 && cd $1 && ./craft setup | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment