In the root directory for the site, with hugo installed, run: hugo server -w
or to include draft posts run: hugo server -wD
In the root directory, run hugo new posts/yyyy-mm-dd-{post title}.md
in the roo directory for the site, with hugo installed, run hugo deploy --force