Skip to content

AVC-Club/AVC-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Guide

Minimum Requirements


Installation Steps

1. Install PHP 8.4+

  1. Download the PHP zip file from the link provided above.
  2. Rename your existing PHP folder (e.g., PHP7.4) to keep it as a backup.
  3. Extract the downloaded PHP zip file to C:\Program Files\ and rename the folder to PHP8.4.
  4. Add PHP to the system's environment variables:
    • Open System Properties.
    • Navigate to Advanced > Environment Variables.
    • Under System Variables, select Path and click Edit.
    • Click New, then add C:\Program Files\PHP8.4.
    • Click OK to save and apply changes.

2. Install Composer 2.8+

  1. Run the Composer installation executable and follow the on-screen instructions.
  2. When prompted for the command-line PHP, select C:\Program Files\PHP8.4. If it is not detected, use the Browse option to locate it.
  3. Complete the installation with default settings.

3. Verify Installation

  1. Open a command-line terminal.

  2. Run the following command:

    composer --version
  3. Expected output:

    Composer version 2.8.6 2025-02-25 13:03:50
    PHP version 8.4.4 (C:\Program Files\PHP8.4\php.exe)
    Run the "diagnose" command to get more detailed diagnostics output.
  4. (Optional) Run the following command to check Composer’s full details:

    composer -v

    Expected ASCII output:

       ______
      / ____/___  ____ ___  ____  ____  ________  _____
     / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
    / /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
    \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                         /_/
    Composer version 2.8.6 2025-02-25 13:03:50

Congratulations! 🎉 Composer and PHP are successfully installed!


Setting Up the Development Workspace

1. Clone the Repository

 git clone https://github.com/AVC-Club/AVC-Website

2. Navigate to the Project Directory

cd AVC-Website

3. Install Dependencies

composer require slim/slim:"4.*"
composer require slim/psr7
composer require slim/php-view

4. Start the Development Server

php -S localhost:8888 app.php

5. Access the Website

Open your browser and visit:

http://localhost:8888

You should see the website running successfully!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors