Skip to content

Commit

Permalink
feat(docs): add info for core file updating
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 14, 2015
1 parent b00158e commit db3d7a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _app/_posts/note/2014-06-12-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Go to the [GitHub repository](https://github.com/sparanoid/almace-scaffolding) f

## Upgrading

Upgrading templates is hard, it will be easy if you are're a casual blogger and keep every core and template file untouched. Just copy and paste all files (except your `_app/_posts` and `_app/_pages`) to `_app`. If you change the core files and templates directly, you have to compare them side by side.
Upgrading templates is hard, it will be easy if you are're a casual blogger and keep every core and template file untouched. You can use the following command to update Almace Scaffolding core files:

If you're using a custom theme, use `grunt theme-save` to backup your theme before updating and use `grunt theme-upgrade` for restoring. See [Themes](http://sparanoid.com/lab/amsf/themes.html) for more info.
```sh
$ grunt amsf-update
```

It checks the latest Almace Scaffolding build from GitHub and update core files automatically. Please keep in mind that if you changed some of the AMSF core files this action will **override** the changes you made. So it's recommended to keep your project under version control, you will be always be able to compare changes for Almace Scaffolding.

0 comments on commit db3d7a8

Please sign in to comment.