Skip to content

rashmikanirml/cafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cafe Weather

A WordPress cafe website that recommends drinks based on the weather at a fixed location.

What is included

  • cafe-weather-recommender plugin
  • cafe-weather-cafe custom theme
  • Weather-aware drink recommendations using Open-Meteo
  • Custom cafe_drink content type and seeded starter drinks
  • Docker Compose setup for local development

Run locally

  1. Start Docker Desktop.
  2. From the project root, run:
docker compose up -d
  1. Open WordPress in your browser:
http://localhost:8080
  1. Complete the WordPress installer.
  2. In WordPress admin, activate:
  • Theme: Cafe Weather Cafe
  • Plugin: Cafe Weather Recommender

First run notes

  • The plugin creates the main site pages and seeds drink content on activation.
  • The homepage uses the [cafe_weather_drinks] shortcode.
  • The menu page uses the [cafe_drink_menu] shortcode.

Project files

  • docker-compose.yml sets up WordPress and MySQL.
  • wp-content/plugins/cafe-weather-recommender/ contains the plugin.
  • wp-content/themes/cafe-weather-cafe/ contains the custom theme.
  • RUN_WITH_DOCKER.md has quick run instructions.
  • FIRST_RUN.md has the installation checklist.

Development

If you change plugin or theme files, refresh the site in your browser. If WordPress does not pick up a change, restart the containers:

docker compose restart

About

An ai based cafe site which predict cafe type according to weather developed using wordpress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors