- Open git bash terminal in htdocs directory and run:
git clone https://github.com/Doc999tor/Slim-Project-2-example.git project2
- Open command line terminal in htdocs (Shift+RightClick on empty space) and type (hit Enter after every row)
cd project2
composer install
- be sure composer itself is already installed- Run:
php -S localhost:3000
(Be sure you have php in your PATH: Windows and Linux) - Open Chrome and go to phpmyadmin:
- Create a new db: proj2
- Import .sql file
- Open Chrome and go to localhost:3000
- Enjoy
- Xampp with PHP7
- MySQL 5.7
- Chrome
- Live example for testing: proj2.bewebmaster.co.il