sana137.in

Sana's gatsbyjs-based blog
git clone http://git.hanabi.in/repos/sana137.in.git
Log | Files | Refs | README | LICENSE

commit afff8b774ad5b6118aeae5ded0f1136761aaf3e6
parent d7d20e771a9aac7745c57c34390fd3e9ed189394
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Fri,  6 Sep 2019 02:38:02 +0530

update license, readme, package.json

Diffstat:
MLICENSE | 2+-
MREADME.md | 23+++++++++++++++++++++++
Mpackage.json | 4++--
3 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 gatsbyjs, 2019 Agastya Chandrakant +Copyright (c) 2015 gatsbyjs, 2019 Agastya Chandrakant, 2019 Sana Habeeb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md @@ -1,3 +1,16 @@ +## First things first + +Follow these steps after cloning this repository: + +```bash +npm i -D # install dependencies +gatsby build # create production website +cd public +git remote add origin https://github.com/cognitive137/sana137.in.git +git pull +git push origin master +``` + ## Adding new blogs 1. Create a folder in `src/blogs`, say _`newBlogPost`_. @@ -29,6 +42,16 @@ excerpt: 'Add excerpt here' 4. Make sure path starts with **`/`**, and is unique. +## Updating the website + +Run the following commands to update the website: + +```bash +gatsby build +cd public +git push +``` + ## Note about styling Only the Footer functional component (`src/components/footer.js`) imports `layout.css`. diff --git a/package.json b/package.json @@ -37,9 +37,9 @@ }, "repository": { "type": "git", - "url": "https://github.com/acagastya/sana137.in" + "url": "https://github.com/cognitive137/sana137.in" }, "bugs": { - "url": "https://github.com/acagastya/sana137.in/issues" + "url": "https://github.com/cognitive137/sana137.in/issues" } }