Installation on VPS hosting

Before installing, make sure mod_rewrite.c header is must enabled.

							cd /home/user/
							unzip emart.zip
							<VirtualHost *:80>
							ServerName yoursite.com
							DocumentRoot "/home/user/emart/public"
							Options Indexes FollowSymLinks
							<Directory "/home/user/emart/public">
								AllowOverride All
								Require all granted
							</Directory>
							</VirtualHost>
							sudo chown www-data:www-data -R /home/user/emart
							sudo chmod 775 -R /home/user/emart
							sudo service apache2 restart
							https://yourdomain.com/public

To Remove Public FROM click below card to know more

Last updated