____ ____ ____ ____ ____ ____ ____ ||B |||L |||O |||G |||I |||S |||T || ||__|||__|||__|||__|||__|||__|||__|| |/__\|/__\|/__\|/__\|/__\|/__\|/__\|
- fork blogist then clone
git clone https://github.com/<github username>/blogist.git cd blogist
- follow the first step here. and copy your github page [repo url], copy the https one, not ssh
- config blogist
npm install
npm install grunt-init grunt-cli -g
bower install
grunt-init config
then you will get prompt about how to setup your blogist
you’ll have to input the following:(* required)
- ‘github_name*’: your github username
- ‘homepage*’: your blog url, with ‘https?:\’
- ‘repo*’: [repo url] you copy before
- ‘author_name’: optional, by default your git config user.name
- ‘blog_title’: title of your blog
- ‘description’:description of your blog
- “theme”: choose your blog theme, by default lumen, or anythin you like here http://bootswatch.com/
- ‘branch’: default master, or gh-pages if you like.
grunt
python -m SimpleHTTPServer
open http://localhost:8000 in your browser make sure you see your gist lists.
if ok CTRL C
- open https://travis-ci.org/profile and find your repo
curl -u 'your_github_name' -d '{"scopes":["public_repo"], "note":"Travis access"}' https://api.github.com/authorizations gem install travis travis encrypt GH_TOKEN=your_token --add
git remote add blogist [repo url]
git add config/settings.json
git commit -am "init config"
git push blogist master
- go to the your repo’s travis
- open inspector goto network tab
- click rebuild
- right click the rebuild url and select “Copy as Curl”
- open https://addons.heroku.com/marketplace/scheduler
- add this addon to any of your heroku app. then open https://scheduler.heroku.com/dashboard.
- click add job then paste the curl you just copied.
- set the frequency as often as you like to cache your blogist for seo.
grunt mocha
feel free posting issues here https://github.com/blogist/blogist/issues