This project is designed to be a fully-functional, static site implementation of the official Ghost Casper Template built on EmberJS with fully working out of the box SEO friendly output. It supports being hosted on AWS S3 or any other static site hosting solution.
If you want an example of the this "in production" then check out the Stone Circle Blog. If you use this in production let us know and we can add a "built with ember-casper-template" wiki.
You do not need to be a web developer to be able to use this system. You just write markdown files and the rest of the work is performed by EmberJS' build system.
First you need to generate an ember app:
npm install -g ember-cli
ember new super-blog
then install this Ember Addon:
cd super-blog
ember install ember-casper-template
If you want to see the blog system running on your local machine just run npm start
and you will
be able to navigate to http://localhost:4200 to see the blog in action.
Currently there are 2 extra steps that are required to get this working. We are tying to make it so you don't have to do these but if you want to get started quickly it is required.
- Create the following folders:
mkdir content page author
- Add the following to your config/environment.js at the end of the ENV object definition at the top of the file
fastboot: {
hostWhitelist: ["localhost:4200"]
}
This addon comes with helpful blueprints to generate posts and authors for you in the structure it expects. The first thing you should do is generate an author as follows:
ember g author your-name
Then you should be able to edit the file author/your-name.md
to update the details.
Next you will want to generate some posts. If you only have one author generated (in a single user blog) you can generate a post as simply as running:
ember g post "this is a post I want to write"