Skip to content

arj-zixxy/Shopping-market

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run the following commands in your terminal to setup the project

You must have the LAMP installed on your system

  1. git clone https://github.com/DIvyesh0204/Shopping-market.git

  2. cd Shopping-Market

  3. bash run.sh

    This will install composer,
    then open your virtual host config file
    where you need to copy paste the following code
    and type in the path to your cloned repository's public directory :

    <VirtualHost *:80>
        ServerName market.local
        #Enter Path Here
        DocumentRoot /path____________________      
        #Enter Path Here
        <Directory /path____________________ >     
            Options -Indexes -MultiViews
            Allowoverride all
            Require all granted
            <IfModule mod_rewrite.c>
                RewriteEngine On
    
                # Redirect Trailing Slashes If Not A Folder...
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^(.*)/$ /$1 [L,R=301]
    
                # Handle Front Controller...
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^ index.php [L]
            </IfModule>
    
    
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/market.error.log
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/market.access.log combined
    </VirtualHost>
    

    Save and Close this file

Your setup is now complete
Run "market.local/" on your browser to view the project.

About

CSN-291 course project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Twig 52.8%
  • PHP 39.6%
  • CSS 6.8%
  • Shell 0.8%