Skip to content

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to Run Slim Skeleton Framework Website

To run the Slim Skeleton Framework website, which utilizes Twig, follow these steps:

  1. Install PHP on Windows:

    • Download the Thread Safe version of PHP for Windows from php.net.
    • Extract the downloaded PHP archive to a directory (e.g., C:\php).
    • Add the PHP directory to the system's PATH environment variable.
    • Verify the PHP installation by running php -v in the command prompt.
  2. Install Composer on Windows:

    • Download Composer's Windows installer from getcomposer.org.
    • Run the installer and follow the installation instructions.
    • After installation, verify Composer by running composer -v in the command prompt.
  3. Install XAMPP:

    • Download and install XAMPP from apachefriends.org.
    • Start the Apache and MySQL services from the XAMPP Control Panel.
  4. Import Website's Database Script:

    • Clone or download the repository from Bitbucket.
    • Navigate to the slim-skeleton/res/db directory and locate the sehrs.db file.
    • Import the sehrs.db file into phpMyAdmin:
      • Open phpMyAdmin in your web browser.
      • Create a new database (e.g., sehrs).
      • Select the created database and choose the Import tab.
      • Upload the sehrs.db file and execute the import.
  5. Starting the Server:

    • Navigate to the root directory of the downloaded repository.
    • Open a terminal or command prompt in the directory.
    • Run the following command to start the PHP built-in server:
      php -S localhost:8000 -t public public/index.php
      
  6. Accessing the Website:

    • Open a web browser and go to http://localhost:8000 to access the Slim Skeleton Framework website.

Now, you should have the Slim Skeleton Framework website up and running on your local machine.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages