This is the repository for my submission of MVC assignment
MVC-LMS is a Library Management website on MVC Architecture. The web based app is built using ToroPHP, Twig and MySql.
- Clone the repository to your local system using
git clone -b
along with branch name and SSH Key. - Install composer using:
> curl -s https://getcomposer.org/installer | php > sudo mv composer.phar /usr/local/bin/composer
- Install dependencies and dump-autoload:
> composer install > composer dump-autoload
- Copy
config/sample.config.php
asconfig/config.php
and edit it accordingly:> cp config/sample.config.php config/config.php # Edit the file using your mysql database credentials
- Import schema present in
schema/schema.sql
in your database using:> mysql -u root -p [DB_NAME] < C:\Users\user_name\Downloads\schema.sql
- Serve the public folder at any port (say 8000):
> cd public > php -S localhost:8000