Skip to content

pathange-s/Mvc-Arch-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mvc-Arch

Library Management System on MVC architecture

Start

  • Clone the repository
  • Get your LAMP setup . LAMP

Setting up database

  • Start mysql server

  • Setup DB from the file DatabaseSetup.txt

  • Edit sampleconfig.php file with appropirate details in the config directory and rename it to config.php

  • Database setup is done !

  • In the project root directory setup composer by the command

composer install
composer dump-autoload

Setting up Virtualhost

  • Configure Vhost config file

  • Make sure Vhost module is enabled in sudo nano /etc/httpd/conf/httpd.conf before proceding to the next step

sudo nano /etc/httpd/conf/extra/httpd-vhosts.conf
  • Paste the lib.local.conf (Make sure you give the correct public directory and error log addresses)

  • Add the server domain in the hosts file

sudo nano /etc/hosts
  • Add 127.0.0.1 lib.local (or your domain name) in the hosts

Run

  • Localhost : In the public directory, execute php -S localhost:<PORT> to start the server
  • Vhost : Start server at your server name - lib.local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published