pwd
cd Desktop/designmusings/
hugo new blog/something_new.md
Change the drafts parameter to false for deploy
hugo server --theme=hugo-incorporated --watch --buildDrafts=true
Kill debug server before commit
To generate the static pages
hugo --theme=hugo-incorporated
To see changes
git status -s
To add changes
git add -A .
To add chages to commit
git commit -m 'some commit message'
To send/push commit to github
git push
To deploy to heroku
git subtree push --prefix public heroku master
In case the push fails because it was rejected due to the heads being different, the following command will fix things up:
git push heroku `git subtree split --prefix public master`:master --force
Only need to run once to install
heroku plugins:install https://github.com/heroku/heroku-repo.git
To reset the heroku repo
heroku repo:reset -a designmusings
Once done, run the following to deploy to heroku
git subtree push --prefix public heroku master
BOOM!!!