Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kgajera/blog
Personal website and blog
https://github.com/kgajera/blog
blog docusaurus giscus
Last synced: 2 months ago
JSON representation
Personal website and blog
- Host: GitHub
- URL: https://github.com/kgajera/blog
- Owner: kgajera
- License: other
- Created: 2022-02-04T02:13:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-24T22:14:20.000Z (over 1 year ago)
- Last Synced: 2024-09-27T12:40:14.114Z (3 months ago)
- Topics: blog, docusaurus, giscus
- Language: TypeScript
- Homepage: https://kgajera.com
- Size: 10.9 MB
- Stars: 11
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# KGajera.com
[![Netlify Status](https://api.netlify.com/api/v1/badges/d901faa1-d599-4940-97f2-1fecef68d139/deploy-status)](https://app.netlify.com/sites/kgajera/deploys)
This website built using [Docusaurus 2](https://docusaurus.io/), a static website generator.
## Getting Started
1. Run `cp .env.example .env` and set values. These environment variables are used in [`docusaurus.config.js`](/docusaurus.config.js).
1. Run `npm install` to install dependencies
1. Run `npm start` to start a local development server## Code Generation
Generate files using the following commands:
- `npm run g:blog` - generates a new blog post in `./blog/`
- Pass the `-i` flag to run in interactive mode
- `npm run g:component` - generates a new component file in `./src/components/`
- `npm run g:page` - generates a new page component file in `./src/pages/`## Production Build
Run `npm run build` to generate static content into the `build` directory and can be served using any static contents hosting service.
## Cloning / Forking
Please review the license and run `npm run clean` to remove all personal content such as blog posts and images.