Aviii06 / mvc-lect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Start php my admin.
Create a database project.
Run the schema.
Start mysql server.
Install all dependancies by typing composer install in the git repository.
Copy the file vhost\mvc.slabs.local.conf to sites-available in your apache or httpd directory and do the appropiate changes to the document root and directory.
Enable it using a2ensite command.
For mac include it in your httpd config file.
Add 127.0.0.1 mvc.sdslabs.local to your hosts file at /etc/.
you can access the file at http://mvc.sdslabs.local/.

Testing

Write the necesarry details on config_sample.php
Run composer dump-autoload
Go to the public library and run php -S localhost:3000

About


Languages

Language:Twig 60.4%Language:PHP 39.6%