by infomasmarca
You Travel Chile
import logging
from gunicorn.app.base import BaseApplication
from routes import *
from app_init import app
# Setup logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class StandaloneApplication(BaseApplication):
def __init__(self, app, options=None):
self.application = app
self.options = options or {}
super().__init__()
def load_config(self):
# Apply configuration to Gunicorn
for key, value in self.options.items():
if key in self.cfg.settings and value is not None:
self.cfg.set(key.lower(), value)
def load(self):
return self.application
Created: | Last Updated:
Using the You Travel Chile Template
This template provides a complete travel booking platform for Chilean Patagonia, featuring user authentication, destination listings, and an AI chat assistant.
Getting Started
- Click "Start with this Template" to begin using the template in Lazy Builder
Test the Application
- Click the "Test" button to deploy the application
- Lazy will provide you with a server link to access the web interface
Using the Platform
The platform includes several key features:
- Homepage: Showcases featured destinations in Chilean Patagonia including Puerto Natales, Punta Arenas, and Coyhaique
- Search Functionality: Users can search for destinations, hotels, and activities
- AI Chat Assistant: Provides intelligent responses to travel queries
- Admin Dashboard: Manage team access and AI chat settings
To use the admin features:
- Navigate to the Team section to manage admin access
- Add allowed email domains or individual admin emails
- Configure AI chat settings including:
- Model selection
- Temperature settings
- Moderation prompts
The platform supports both English and Spanish languages for better accessibility.
Note: You'll need to add your own destination images to the following paths in the static/img folder: * torres-del-paine-banner.jpg * puerto-natales.jpg * punta-arenas.jpg * coyhaique.jpg * torres-del-paine.jpg * glacier.jpg
These images will be used throughout the platform to showcase destinations and experiences.
Template Benefits
- Bilingual Market Reach
- Template supports both English and Spanish content simultaneously
- Enables targeting of both international tourists and local Chilean market
-
Increases potential customer base and market penetration
-
Comprehensive Travel Management
- Centralized platform for managing multiple travel services (tours, hotels, flights)
- Streamlined booking process for customers
-
Efficient administration of various travel offerings through single dashboard
-
Regional Tourism Promotion
- Showcases specific Patagonian destinations (Puerto Natales, Punta Arenas, Coyhaique)
- Highlights popular experiences like glacier navigation and trekking
-
Drives tourism growth in featured regions
-
Scalable Admin System
- Flexible user management with domain-level access control
- Ability to add/remove administrators easily
-
Secure authentication and role-based permissions
-
Enhanced Customer Experience
- Integrated AI chat support for instant customer assistance
- User-friendly search functionality for destinations and activities
- Responsive design ensuring seamless mobile and desktop experience
Technologies




