2013年1月30日 星期三

github + octopuses issue

1. install 

http://islamismailov.com/blog/2012/12/31/octopress-on-mac-os-x-with-homebrew/

 

2. setup 

http://zerodie.github.com/blog/2012/01/19/octopress-github-pages/

 

3.troubleshooting


http://stackoverflow.com/questions/12060903/github-error-repository-not-found-when-installing-octopress

assuming you have installed ruby 1.9.3

  1. create repo on github as username.github.com
  2. cd your_working_dir
  3. rake install / rake install['theme_name']
  4. rake setup_github_pages this will ask to write repo name. Do not add ".git" e.g. git@github.com:username/username.github.com this is correct
  5. now add your remote repo, check available repo using git remote -v octopress git://github.com/imathis/octopress.git (fetch) octopress git://github.com/imathis/octopress.git (push)
  6. add your repo git remote add origin git@github.com:username/username.github.com.git
  7. Rename branch master to source, because github pages publishes only source branch git branch
    • master git branch -m master source git branch
    • source
  8. time to preview rake preview open browser and goto localhost:4000
  9. if all is fine then push to github
  10. rake generate git add . git commit -m "first blog" git push origin source rake deploy

沒有留言:

Obsidian 插件介紹:Text Generator

Text Generator 是 Obsidian 的一個插件,它可以根據給定的提示自動生成文本。這個插件使用 GPT-3 語言模型,能夠產生類似人類的文本,非常適合編寫故事、文章、電子郵件和其他類型文本。 主要功能: **生成文本:**根據提示生成各種長度的...