Get Started with Bar Galileo
This guide will help you get Bar Galileo running on your local machine quickly. You’ll have a fully functional restaurant management system ready to use.Set Up Python Environment
Create and activate a virtual environment:
Bar Galileo requires Python 3.11 or higher. Check your version with
python --versionInstall Dependencies
Install all required Python packages:This installs Django 5.2.4, Django Channels for WebSocket support, and all other dependencies including:
- MySQL client
- ReportLab (PDF generation)
- OpenPyXL (Excel export)
- Sentence Transformers & FAISS (AI chat)
Set Environment Variables
Create a Add your configuration:
.env file in bar_galileo/bar_galileo/ directory:bar_galileo/bar_galileo/.env
Generate a secure
secret_key using: python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"Run Database Migrations
Initialize the database schema:This creates all necessary tables for products, orders, inventory, users, and more.
Create Admin User
Create your superuser account:Follow the prompts to set username, email, and password.
Access Your Application
Once the server is running, you can access Bar Galileo at:- Local access: http://localhost:8000
- Network access: http://YOUR_LOCAL_IP:8000 (shown in terminal when using
run_server.sh)
First Login
Log in with the superuser credentials you created. You’ll have access to:- Admin Dashboard - Overview of restaurant operations
- Tables & Orders - Manage tables and customer orders
- Products - Add and manage your menu items
- Inventory - Track stock levels
- Reports - Generate PDF and Excel reports
- Users & Roles - Manage staff permissions
Example: Create Your First Product
After logging in, try adding a product:Product images are automatically converted to WebP format for optimal performance.
Key Features to Explore
Real-time Notifications
WebSocket-powered notifications keep staff updated on new orders and inventory alerts.
AI Chat Assistant
RAG-powered chatbot helps answer questions about your restaurant’s documents.
Automated Backups
Schedule automatic encrypted backups of your database and media files.
Multi-format Reports
Export sales, inventory, and expense reports in PDF or Excel format.
Next Steps
Installation Guide
Learn about advanced configuration options
Configuration
Configure email, OAuth, and production settings
Need Help?
If you encounter issues:- Check that MySQL is running:
sudo systemctl status mysql - Verify your
.envfile has correct database credentials - Ensure Python 3.11+ is installed:
python --version - Check the Django logs for error messages
