cd ~/code
git clone https://github.com/enten/gitbook-boilerplate.git awesome-project
cd awesome-project
rm -fr .git
vi package.json
# edit repository.url and repository.wiki
git remote add origin <url>
npm run build
# or
# npm run generate-gitbook && npm run generate-wiki
npm run deploy
# or
# npm run deploy-gitbook && npm run deploy-wiki
Important: Wiki must be created on Github