Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 674 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 674 Bytes

MVCExample

Just a little example of a sales board with MCV architecture.

Installation

Vagrant environment for php7.

    $ git clone https://github.com/rlerdorf/php7dev.git

Create a shared folder

    $ mkdir www
    $ vagrant ssh
    $ sudo ln -s /vagrant/www /var/www/default

Inside www

    $ git clone https://github.com/marcorosello/MVCExample.git

Autoload classes with composer

    $ composer dump-autoload -o

Add the database credentials to the config.php file in the base folder, by default sales adn vagrant user

add 192.168.7.7 php7dev to your hosts file and you should be able to see the app in

http://php7dev/www/