Run the following commands in your terminal to setup the project
You must have the LAMP installed on your system
-
-
cd Market
-
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 :ServerName market.local #Enter Path Here DocumentRoot /path____________________ #Enter Path Here Options -Indexes -MultiViews Allowoverride all Require all granted ErrorLog ${APACHE_LOG_DIR}/market.error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/market.access.log combinedRewriteEngine 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] Save and Close this file
Your setup is now complete
Run "market.local/" on your browser to view the project.