Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 737 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 737 Bytes

Vagrant Silex

Simple Vagrant box including

  • apache2
  • php (including Xdebug)
  • mysql
  • simple silex project

Setup

  • Install Vagrant >= 1.6.5 & VirtualBox
  • Clone this repository
  • go to project root and run [vagrant box add ubuntu/trusty64 and] vagrant up
  • open localhost:8001/welcome/<yourname>

Project Structure

  • configure your silex app: src/app.php
  • add further pages: src/controllers.php
  • set up your database: sql/datadefinition.sql
  • prefill your database: sql/datamanipulation.sql
  • add twig templates: web/templates/