Browse Source

update license, readme, package.json

master
Agastya 2 years ago
parent
commit
afff8b774a
3 changed files with 26 additions and 3 deletions
  1. +1
    -1
      LICENSE
  2. +23
    -0
      README.md
  3. +2
    -2
      package.json

+ 1
- 1
LICENSE View File

@ -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


+ 23
- 0
README.md View File

@ -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`.

+ 2
- 2
package.json View File

@ -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"
}
}

Loading…
Cancel
Save