Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/abecms/abecms
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed May 6, 2017
2 parents 4492466 + e69932d commit 48d7027
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -113,7 +113,7 @@ Deploy your own Abe demo on Heroku
```$ npm install -g abecms ```

## Usage
1. `abe create my-website` : Create a new website
1. `abe init` : It launches a wizard to help you create your website
2. `cd my-website`
3. `abe serve -i` : launch your website (by default on port 3000)

Expand Down
19 changes: 19 additions & 0 deletions version3.md
Expand Up @@ -140,6 +140,25 @@ For now:
To migrate from a version 2, you'll have to make sure to refactore (if used) these methods
- src/cli/cms/operations/remove.js function has a new signature. It was previously ```cmsOperations.remove(jsonPath, htmlPath)```. It's now ```cmsOperations.remove(filePath)```. You'll have to call it 2 times if you want to remove a json file and a html file.
- src/cli/cms/Page.js class has a new signature. it was previously ```new Page(templateId, template, json, onlyHTML)```. It's now ```new Page(template, json, onlyHTML)```
- The default 'templates' and 'partials' path have changed: Previously they were at the Abe project's root. Now, they are under /themes/default/. You have 2 options to migrate:
- Move your /templates and /partials directories under /themes/default (preferred solution)
- Or Put in abe.json:

```
{
themes:{
path:"",
name:"",
templates:{
url:"templates"
},
partials:{
url:"partials"
}
}
}
```

- Some attributes have been removed from the Manager list of posts:
- htmlPath
- cleanName
Expand Down

0 comments on commit 48d7027

Please sign in to comment.