npm install
for install node depedenciesbundle install
for install bundle depedencies
export JEKYLL_ENV=development
for mode developmentexport JEKYLL_ENV=production
for mode production
./initpost -h
output instructions./initpost -c {POST_TITLE}
create post./initpost -d {POST_TITLE}
create draft post./initpost -p {POST_TITLE}
publish/promote a draft to a post
-
npm run build
for Compile sass, js and build site files -
npm run deploy
for Deploy to other branch which on github pages -
Commit files and push to development branch.
run npm start
or bundle exec jekyll server --host=[IP ADDR]