by saboreousa
Servicio Estelar: Capacitación en Atención al Cliente
import logging
from gunicorn.app.base import BaseApplication
from app_init import create_initialized_flask_app
# Flask app creation should be done by create_initialized_flask_app to avoid circular dependency problems.
app = create_initialized_flask_app()
from models import db
with app.app_context():
db.create_all()
# 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():
Servicio Estelar: Capacitación en Atención al Cliente
Created: | Last Updated:
Here's a step-by-step guide for using the Servicio Estelar: Capacitación en Atención al Cliente template:
Introduction
The Servicio Estelar template provides an interactive quiz application designed to train employees in customer service for restaurants and hotels. It evaluates and improves their knowledge of service standards through a series of questions.
Getting Started
To begin using this template:
- Click "Start with this Template" in the Lazy Builder interface.
Test the Application
Once you've started with the template:
- Click the "Test" button in the Lazy Builder interface.
- This will initiate the deployment of your app and launch the Lazy CLI.
Using the App
After deployment, you'll be provided with a link to access the application. The app consists of two main pages:
- Home Page: This is the landing page of the application.
- Quiz Page: This is where employees can take the customer service quiz.
To use the app:
- Navigate to the provided link.
- Click on the "Quiz" link in the navigation menu to access the quiz page.
- Answer the multiple-choice questions about customer service.
- Click the "Submit" button at the end of the quiz to see your score.
Customizing the Quiz
The quiz questions are currently hardcoded in the quiz.js
file. To customize the quiz for your specific needs:
- Open the
quiz.js
file in the Lazy Builder interface. - Locate the
questions
array. - Modify the existing questions or add new ones following this format:
javascript
{
question: "Your question here",
options: ["Option A", "Option B", "Option C", "Option D"],
correct: "A" // The correct answer (A, B, C, or D)
}
- Save your changes and re-deploy the app by clicking the "Test" button again.
Integrating with Your Training Program
This quiz app can be integrated into your existing employee training program:
- Share the app's URL with your employees or include it in your training materials.
- Consider using the quiz results to track employee progress and identify areas for improvement in your customer service training.
By following these steps, you'll have a functional customer service training quiz app that you can customize and use to enhance your employee training program.