- Clone this repo
- Run
npm install
- Write your blog post in markdown format under
src/blog-posts
. Refer the existing markdown template for title and date. - Then run
npx gatsby develop
to load the page in your local machine. Usually loads in http://localhost:8000 - If any image to be displayed as part of the blog article, make sure those present within
src/blog-posts
directory. In this repo, I've kept all the images undersrc/blog-posts/images
directory.
- Make sure you have
now
cli installed. Refer here - From your cli, just run
now
to publish.