An elegant Angular application presenting the eternal wisdom of the Shrimad Bhagwat Geeta, built with devotion and modern web technology.
This project supports both normal Angular and SSR (Server-Side Rendering) builds and is hosted freely using GitHub Pages.
🔗 https://sameer05515.github.io/smbg/
🅰️ Angular- ⚡ TypeScript
- 🎨 TailwindCSS / CSS
- ☁️ GitHub Pages (Static Hosting)
- 🧩 PowerShell for automated deployment
ShrimadBhagwatGeeta/
├── src/ # Angular source code
├── dist/ # Build output after production build
│ └── smbg/
│ ├── index.html # SPA entry (normal build)
│ └── browser/ # SSR output (if Angular Universal)
├── deploy-to-ghpages.ps1 # PowerShell deployment script
├── angular.json
├── package.json
└── README.md
Run this command from your project root:
ng build --configuration production --base-href "/smbg/"✅ Output will be generated in:
dist/smbg/
If you are using Angular Universal (SSR), your static site will be located in:
dist/smbg/browser/
Deployment is automated using a custom PowerShell script.
./deploy-to-ghpages.ps1This script will:
- Build the Angular project.
- Detect if SSR build (
/browser) or normal build. - Copy correct folder to a temp clone.
- Push contents to the
gh-pagesbranch. - Show your live site URL after deployment.
If you prefer manual steps:
cd D:\my-temp
git clone https://github.com/sameer05515/smbg.git
cd smbg
git checkout gh-pages 2>$null || git checkout -b gh-pages
git rm -rf . 2>$null
xcopy "D:\GIT\unit-testing-playground\example-base-05\ShrimadBhagwatGeeta\dist\smbg\browser\*" . /s /e /y
git add .
git commit -m "🚀 Deploy Angular build"
git push -f origin gh-pages✅ After that, enable Pages in GitHub:
Settings → Pages → Source → gh-pages branch → / (root)
The goal of this project is to digitally present the divine teachings of the Shrimad Bhagwat Geeta in a simple, interactive, and responsive format — merging spirituality with modern web technologies.
Developed with ❤️ by Sameer
Hosted freely on GitHub Pages
This project is released under the MIT License.