JyotishMantra
## ๐๏ธ JyotishMantra JyotishMantra is a comprehensive spiritual and religious platform that connects devotees with temples, pandits, astrology services, puja bookings, donations, darshan services, religious products, yatras, and various Hindu spiritual offerings. <table> <tr> <td align="center" width="50%"> ### ๐ Temple Booking & Darshan Book temple visits, VIP darshan, and spiritual experiences. </td> <td align="center" width="50%"> ### ๐ฑ Online & Offline Puja Services Schedule personalized pujas performed by verified priests. </td> </tr> <tr> <td align="center"> ### ๐ฟ Rudraksha & Spiritual Products Shop authentic spiritual products and religious items. </td> <td align="center"> ### ๐ฎ Astrology Consultation Consult experienced astrologers for guidance and predictions. </td> </tr> <tr> <td align="center"> ### ๐ Religious Gift Cards Send spiritual gifts and blessings to your loved ones. </td> <td align="center"> ### ๐ Tour & Travel Services Explore pilgrimage destinations with curated travel packages. </td> </tr> <tr> <td align="center"> ### ๐ฅ Live Darshan Watch live temple darshan and religious events online. </td> <td align="center"> ### ๐ Donations & Chadhava Offer donations and temple contributions securely online. </td> </tr> <tr> <td align="center"> ### ๐ Spiritual Content & Blogs Read articles, scriptures, spiritual guides, and insights. </td> <td align="center"> ### ๐จโ๐ซ Verified Pandits & Priests Connect with trusted priests for rituals and ceremonies. </td> </tr> </table> --- --- ## Landing Page  --- # ๐๏ธ Tech Stack | Layer | Technology | |---------|------------| | Backend | Laravel 10 | | Frontend | Blade Templates | | Database | MySQL 8 | | Web Server | Nginx | | Containerization | Docker | | Admin Panel | Laravel Admin | | Authentication | Laravel Auth | | File Storage | Laravel Storage | --- # ๐ณ Docker Setup ## Prerequisites - Docker - Docker Compose Verify installation: ```bash docker --version docker compose version ``` --- ## Start Containers ```bash docker compose up -d ``` Build again if required: ```bash docker compose up -d --build ``` Check running containers: ```bash docker ps ``` --- ## Application URLs | Service | URL | |----------|------| | Website | http://localhost:8000 | | PhpMyAdmin | http://localhost:8080 | --- # ๐๏ธ Database Configuration ## Main Database ```env DB_CONNECTION=mysql DB_HOST=database DB_PORT=3306 DB_DATABASE=mahakal_admin DB_USERNAME=root DB_PASSWORD=root ``` --- ## Blog Database ```env DB_CONNECTION_SECOND=mysql DB_HOST_SECOND=database DB_PORT_SECOND=3306 DB_DATABASE_SECOND=mahakal_blog DB_USERNAME_SECOND=root DB_PASSWORD_SECOND=root ``` --- # ๐ฆ Create Required Databases Enter MySQL container: ```bash docker exec -it database mysql -uroot -proot ``` Create databases: ```sql CREATE DATABASE IF NOT EXISTS mahakal_admin; CREATE DATABASE IF NOT EXISTS mahakal_blog; ``` Verify: ```sql SHOW DATABASES; ``` --- # ๐ Laravel Installation Enter container: ```bash docker exec -it application bash ``` Install dependencies: ```bash composer install ``` Generate application key: ```bash php artisan key:generate ``` --- # ๐งฑ Database Migration Run main database migrations: ```bash php artisan migrate ``` --- ## Blog Database Migration ```bash php artisan migrate --database=mysql2 ``` --- ## Fresh Migration ```bash php artisan migrate:fresh ``` Seed database: ```bash php artisan db:seed ``` Or: ```bash php artisan migrate:fresh --seed ``` --- # ๐ง Cache Commands Clear config cache: ```bash php artisan config:clear ``` Clear application cache: ```bash php artisan cache:clear ``` Clear route cache: ```bash php artisan route:clear ``` Clear views: ```bash php artisan view:clear ``` Rebuild config: ```bash php artisan config:cache ``` --- # ๐ Storage Permissions If using Linux: ```bash chmod -R 775 storage bootstrap/cache chown -R www-data:www-data storage bootstrap/cache ``` For Docker: ```bash docker exec -it application chmod -R 775 storage bootstrap/cache ``` --- # ๐ Common Issues ## SQLSTATE[HY000] [2002] Check database connection: ```bash php artisan config:clear php artisan cache:clear ``` Verify environment: ```bash php artisan tinker config('database.connections.mysql') config('database.connections.mysql2') ``` --- ## Permission Denied ```bash chmod -R 775 storage chmod -R 775 bootstrap/cache ``` --- ## Container Not Running ```bash docker compose ps ``` Restart: ```bash docker compose restart ``` # ๐ค Contributing 1. Fork repository 2. Create feature branch ```bash git checkout -b feature/new-feature ``` 3. Commit changes ```bash git commit -m "Add new feature" ``` 4. Push ```bash git push origin feature/new-feature ``` 5. Create Pull Request --- # ๐ License This project is proprietary software owned by JyotishMantra. --- ## Owner ยฉ Yash Sharma. All Rights Reserved. For support, questions, or issue reporting, feel free to email: [email protected]