Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.34 KB

README.md

File metadata and controls

42 lines (23 loc) · 1.34 KB

Holiday-finder

This guide will walk you through the steps to set up and run this Symfony application locally.

Prerequisites

Before you begin, make sure you have the following software installed on your local machine:

  1. PHP (PHP 8.1 or higher recommended)
  2. Composer - A PHP dependency manager.
  3. Symfony CLI - The Symfony command-line tool.
  4. Redis - An in-memory data store.

Application Setup

Follow these steps to set up and run your Symfony application with Redis caching:

  1. Clone the Repository:
  • git clone https://github.com/vitaemendum/holiday-symf.git
  • cd holiday-symf/app
  1. Install Dependencies:
  • Use Composer to install the project's PHP dependencies:

    composer install

  1. Redis Configuration:
  • By default, Symfony uses Redis for caching. Ensure Redis is running on your machine. Edit your .env file with REDIS_URL
  1. Run the Symfony Application:
  • Start the Symfony development server symfony server:start

  • Your Symfony application should now be accessible at http://localhost:8000 in your web browser.

  • Open a web browser and go to http://localhost:8000 to access your Symfony application.