KGajera.com
This website built using Docusaurus 2, a static website generator.
Getting Started
- Run
cp .env.example .env
and set values. These environment variables are used indocusaurus.config.js
. - Run
npm install
to install dependencies - 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
- Pass the
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.