This branch contains the dynamic web application for Vector Educare, built with Flask and designed for easy content management via an admin interface.
- Dynamic Site: This branch features a dynamic, database-driven version of the Vector Educare website.
- Admin Panel: Includes a secure admin dashboard for managing events, teachers, and contact information.
- Backend: Powered by Python (Flask) and SQLite for persistent storage.
- Deployment: Intended for production deployment using Gunicorn.
- Admin Authentication: Secure login for admin access.
- Event Management: Add, edit, and delete events with images and descriptions.
- Teacher Management: Manage teacher profiles, including images, subjects, and experience.
- Contact Info: Easily update phone numbers and WhatsApp contact.
- Dynamic Rendering: All content is rendered dynamically from the database.
- Backend: Python 3, Flask, SQLite
- Frontend: HTML5, CSS3, JavaScript, Jinja2 templates
- Other Libraries:
- Font Awesome for icons
- python-dotenv for environment variable management
- Gunicorn for production WSGI server
- Clone this branch and install dependencies:
pip install -r requirements.txt
- Set environment variables (see
.env.exampleor setAPP_SECRET_KEY,ADMIN_USERNAME,ADMIN_PASSWORD). - Run the app in production with Gunicorn:
gunicorn -c gunicorn_config.py app:app
- Access the admin panel:
Go to/loginand use your admin credentials.
- Static Version:
Thestaticbranch contains a static version of the site, suitable for GitHub Pages deployment and using FormSubmit for form handling.