苹果手机怎么软件加密:A-note-for-Octopress

来源:百度文库 编辑:中财网 时间:2024/05/05 15:18:49

A-note-for-Octopress

| Comments

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
===Install Octopress===git clone git://github.com/imathis/octopress.gitcd octopressgem install bundler rake --no-rdoc --no-ribundle installrake install


===Start Blogging===rake new_post["title"]rake generaterake watchrake preview


===Deploy Github===rake setup_github_pagesgit@github.com:name/Repository.gitrake generaterake deploygit add .git commit -am 'your message'git push origin source

===Create CNAME in github===# in your name server, add belowA blog.octopress.com 207.97.227.245# Go to source folder and create CNAME files which contain your domain name (without http://)blog.octopress.com


===Deploy Heroku===gem install heroku --no-rdoc --no-riheroku creategit config branch.master.remote herokurake generategit add .git commit -m 'site updated'git push heroku master# Refer http://octopress.org/docs/deploying/heroku/

===Create CNAME in Heroku===# Ensure you have activated your credit card registration in Herokuheroku addons:add custom_domains:basicheroku domains:add blog.octopress.org# http://devcenter.heroku.com/articles/custom-domains# Go to your DNS console and add below a-records:A blog.octopress.com 75.101.163.44A blog.octopress.com 75.101.145.87A blog.octopress.com 174.129.212.2
view raw Octopress Blogging This Gist brought to you by GitHub.