Skip to content

Conversation

@yadavchiragg
Copy link

@yadavchiragg yadavchiragg commented Jan 5, 2026

🌐 Live Demo

Try it now: https://bhv-q4tp.onrender.com

Overview

Deployed a LIVE DEMO of BHV to Render.com with pre-configured admin accounts for easy testing!

Three admin accounts have been pre-configured:

  • yadavchiragg (contributor)
  • pradeeban (mentor)
  • mdxabu (mentor)

@pradeeban @mdxabu - I've sent you the login credentials via LinkedIn message/email. Please check your DMs!

✨ Features to Try

Visit the live demo and test:

User Registration - Create a new account
Login System - Secure authentication
Image Upload - Upload with title and description
Gallery - View all uploaded images
User Profile - Personal dashboard with uploads
Admin Dashboard - Full statistics and analytics
User Management - View, manage, and delete users
Image Moderation - Delete inappropriate content
Search & Filter - Find users and images
Responsive Design - Works on all devices

🚀 Deployment Details

Files Added

render.yaml         # Render.com configuration
build.sh           # Build script
init_db.py         # Database initialization with admins

Tech Stack

  • Hosting: Render.com (Free tier)
  • Python: 3.11
  • Server: Gunicorn
  • Database: SQLite (persistent)
  • SSL: Automatic HTTPS
  • Region: US East

Automatic Setup

When deployed:

  1. Installs all dependencies
  2. Creates database tables
  3. Initializes 3 admin accounts
  4. Starts production server
  5. Enables HTTPS automatically

🔧 Configuration

render.yaml

  • Auto-deploy from Git push
  • Python 3.11 environment
  • Gunicorn production server
  • Environment variables

build.sh

  • Pip dependency installation
  • Creates upload directories
  • Runs database initialization

init_db.py

  • Creates database schema
  • Adds 3 admin users automatically
  • Sets admin privileges

📊 Benefits

For Mentors

  • ✅ No installation required
  • ✅ Test all features instantly
  • ✅ Admin access included
  • ✅ Real production environment

For Project

  • ✅ Professional live demo
  • ✅ Easy for new contributors
  • ✅ Showcase in GSoC proposal
  • ✅ Portfolio piece

For Development

  • ✅ Auto-deploys on push
  • ✅ Free hosting
  • ✅ HTTPS included
  • ✅ Production-ready setup

🧪 Testing Completed

Tested and verified:

  • ✅ Registration working
  • ✅ Login/logout working
  • ✅ Image upload working
  • ✅ Gallery displaying images
  • ✅ User profiles working
  • ✅ Admin dashboard accessible
  • ✅ All 3 admin accounts working
  • ✅ User management working
  • ✅ Image moderation working
  • ✅ HTTPS enabled
  • ✅ Responsive design

🎯 How to Use

  1. Visit the live demo using the link above
  2. Login with provided credentials
  3. Explore features as admin or regular user
  4. Test moderation tools
  5. Try uploading images
  6. Check statistics in admin panel

⚠️ Important Notes

Free Tier Limitations

  • Spins down after 15 minutes of inactivity
  • First request after sleep takes ~30 seconds
  • 750 hours/month runtime (enough for demo)

Data Persistence

  • Database persists across deploys
  • Uploaded images saved to disk
  • Can be reset if needed

Security

  • HTTPS enabled by default
  • Passwords securely hashed
  • CSRF protection active
  • Admin routes protected

🔄 Updates

Any changes pushed to this branch will:

  1. Trigger automatic rebuild
  2. Deploy new version
  3. Keep database intact
  4. Update within 2-3 minutes

📸 Screenshots

10 11 12

💡 Future Enhancements

  • Custom domain
  • Database backups
  • Email notifications
  • Image resizing
  • CDN for images
  • Analytics tracking

🎓 Why This Matters

A live demo:

  • Shows code actually works in production
  • Makes review easier for mentors
  • Provides hands-on testing experience
  • Demonstrates deployment skills
  • Can be shared with stakeholders
  • Perfect for GSoC proposal

Now BHV is publicly accessible and ready to use! 🚀

🙏 Feedback Welcome

Please test the live demo and provide feedback on:

  • User experience
  • Performance
  • Feature completeness
  • Any bugs or issues

Looking forward to your review!


@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @yadavchiragg, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's deployability and administrative capabilities. It introduces a live demo environment on Render.com, complete with pre-configured admin accounts for easy testing. Furthermore, it adds a comprehensive admin dashboard for user and image management, and fully dockerizes the application for simplified local development and consistent production deployments. These changes aim to make the project more accessible, manageable, and robust.

Highlights

  • Live Demo Deployment: The application is now deployed as a live demo on Render.com, making it easily accessible for testing and showcasing.
  • Pre-configured Admin Accounts: Three admin accounts (pradeeban, mdxabu, yadavchiragg) are pre-configured with default passwords for immediate testing of administrative functionalities.
  • Admin Dashboard and Management: A new administrative interface has been added, allowing privileged users to manage other users, moderate images, and view system statistics.
  • Dockerization for Local Deployment: The project now includes Docker and Docker Compose configurations, simplifying local setup and ensuring consistent development and production environments.
  • Automated Deployment Pipeline: The Render.com configuration enables automatic deployment upon pushes to the main branch, streamlining the update process.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/tests.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is a significant contribution, adding a live demo deployment and a complete admin interface. The effort to set up Docker, Render, and a comprehensive admin dashboard is commendable. However, there are several critical security and maintainability issues that need to be addressed before this can be merged. My review focuses on:

  • Security: Hardcoded secrets (passwords, secret keys) in multiple files.
  • Maintainability: Large-scale code duplication, monolithic application structure (app.py), and extensive use of inline styles in templates.
  • Correctness: Issues with the Docker setup (using development server in production, incorrect health check) and application logic (hardcoded values on upload).
    I've provided specific comments and suggestions to resolve these issues. Addressing them will greatly improve the security, stability, and long-term maintainability of the application.

yadavchiragg and others added 3 commits January 5, 2026 10:03
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@yadavchiragg yadavchiragg force-pushed the feature/add-render-deployment branch from 8a7b1f2 to eef566e Compare January 5, 2026 15:20
@pradeeban pradeeban added the on hold Not merging this PR now. label Jan 14, 2026
@yadavchiragg yadavchiragg force-pushed the feature/add-render-deployment branch from 057274f to dd50085 Compare January 16, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on hold Not merging this PR now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants