Shiqiang Jin

How to build a bookdown by github pages?

2019-04-19


Publishing your notes and books via bookdown in the github is free and easy. Here is my note for me to record how to do it.

creat bookdown

$ cd ~/Dropbox/sjin-blog/bayeslm/docs
$ touch .nojekyll
$ cd ..
$ git add .
$ git commit -m "initial commit"
$ git remote add bayeslm https://github.com/yourusername/bayeslm.git
$ git push -u bayeslm master
Username for 'https://github.com': your user name
Password for 'https://yourusername@github.com': your password

Source Pages

Within one minute, the website will be deployed at https://calebsjin.github.io/bayeslm/.