Serve a Hugo Site¶ Note The -D option will serve drafts. hugo server -D -b "${BASE_URL}" -p "${PORT}" --bind "${BIND_ADDR}" Build a Hugo Site for static Hosting¶ hugo -d "${OUTPUT_DIR}" -t "${THEME}"