🔐

Admin Panel

HomeKitchen Passion by Bistro ThaMe 35

← Back to Website
HomeKitchen Passion — Admin ThaMe
👁 View Site

Menu Items

Add, edit, or remove dishes. Then download the updated JSON and upload to your server.

ℹ️ After making changes, click Download menu.json and upload the file to your server's data/ folder. Changes take effect immediately on next page load.
Image Name Category Price Badge Available Actions
Loading…

Customer Testimonials

Add new reviews or remove existing ones.

Add New Testimonial

Customer Rating Review (preview) Dish Date Actions
Loading…

Ingredient Batches

Post proof-of-ingredient updates showing what you used for each cooking session.

Add Ingredient Batch

Date Title Items Verified Actions
Loading…

Offers & Promotions

Manage active promotional offers shown on the website.

ℹ️ Loyalty tiers and preorder rules are defined in data/offers.json under loyaltyProgram and preorderRules. Edit those sections directly in the JSON file for now.

Add New Offer

Active Offers

Loading…


How to Deploy Changes

📋 Step-by-Step Guide

  1. Make your changes in the relevant admin section (Menu, Testimonials, etc.)
  2. Click the Download [filename].json button
  3. Connect to your VPS via SFTP (e.g., FileZilla, WinSCP, or scp)
  4. Upload the downloaded JSON file to /var/www/html/data/ (or wherever your site root is)
  5. Refresh the website — changes appear immediately, no restart needed

🖼️ Adding Dish Images

  1. Name your image file descriptively (e.g., new-dish-name.jpg)
  2. Upload it to /var/www/html/images/dishes/ on your VPS
  3. In the Admin → Menu Items form, set the Image Path to images/dishes/new-dish-name.jpg
  4. Save the dish and download the updated menu.json
  5. Upload the new JSON to the server

🔐 Changing the Admin Password

  1. Open data/config.json on your server (or locally)
  2. Find the "admin": { "password": "bistro2025" } entry
  3. Change "bistro2025" to your new password
  4. Save the file and upload it to your server

🌐 VPS Deployment (Debian 13 Trixie)

# Install nginx if not already installed
sudo apt update && sudo apt install -y nginx

# Copy website files to web root
sudo cp -r /path/to/your/files/* /var/www/html/

# Set permissions
sudo chown -R www-data:www-data /var/www/html/
sudo chmod -R 755 /var/www/html/

# Enable and start nginx
sudo systemctl enable nginx
sudo systemctl start nginx

# Your site is now live at http://your-server-ip/