Created
January 3, 2014 10:57
-
-
Save lukasbestle/8236178 to your computer and use it in GitHub Desktop.
A simple shell script to install Kirby CMS v2 from GitHub and init a new Git repo for your site
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
# Get the default theme and switch to the folder | |
git clone https://github.com/getkirby-themes/default kirbyproject | |
cd kirbyproject | |
# Re-create the Git repo (this is a new site) | |
rm -Rf .git | |
git init | |
# Get the Kirby core as submodule | |
rmdir kirby | |
git submodule add https://github.com/getkirby/cms kirby | |
git submodule update --init --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment