danielbayerlein / middleman-casper

👻 Casper theme (Ghost) for Middleman-Blog
134 stars 18 forks source link

How do I update this theme in my project? #14

Closed ylluminarious closed 6 years ago

ylluminarious commented 6 years ago

I installed this theme a while back and now I would like to update it. I don't see any documentation on how to do so here or on Middleman's website. I would very much prefer not to have to create a new project directory from scratch.

ylluminarious commented 6 years ago

Okay, so I guess all I had to do was run this incantation on my existing project directory:

$ middleman init -T danielbayerlein/middleman-casper MY_PROJECT_FOLDER # This folder should already exist

And then I just answered which files I wanted to overwrite. I was only prompted for conflicting files, like config.rb and my stylesheets. I'd suggest having a backup of your folder before running the above command. You can either make a copy of your project directory or use version control. This certainly doesn't seem like the cleanest solution, but it worked so there you have it.

danielbayerlein commented 6 years ago

See https://github.com/danielbayerlein/middleman-casper/issues/10#issuecomment-228590200