Skip to content

Instantly share code, notes, and snippets.

@lukasbestle
Created January 3, 2014 10:57
Show Gist options
  • Save lukasbestle/8236178 to your computer and use it in GitHub Desktop.
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
# 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