I have seted up Octopress with the Octopress Documentation.
I installed Octopress on GitHub. And My OS is Ubuntu.
There is something I meet:
- When I modified
_config.yml, andgit push origin source. But the Web does not change. - When I added CNAME at octopress_path/source, and
git push origin source. But I found there no CNAME onmaster branch, And CNAME is at `source branch’. - When I added a article, and generate it. After I
git push origin source, The GitHub has the article, but the Web still is nothing.
I am new to octopress, and I Google it, but I don’t konw why.
How can I solve it?
You must have forgot run:
It’ll help you to generate the
masterbranch (which is the site to show), and it’ll be pushed to github automatically. Thesourceis just the source code for your site, not for showing.Note: every time you modified (or added) a post, and ready to deploy, you need to run
rake deploy. Andrake previewis for testing locally. See official doc by yourself. 🙂If it is the first time, you need to run
to setup github pages for you.
Then every time you add a post, run