Skip to content

Instantly share code, notes, and snippets.

@GeeH

GeeH/email.md Secret

Created Oct 24, 2016
Embed
What would you like to do?

Hello Tutorial Attendees!

It's nearly time for php[world], and I hope you're as excitied as I am to get going. This is just a quick note to let you know what you can do to prepare your development environment for the ZF Done Properly tutorial.

The absolute minimum you need will be PHP 5.5 and MySQL server. Along with some way of editing PHP files (I'll be using PhpStorm if you want to play along), you'll be good to go. It would be amazing if you could fork and clone the repo we'll be working with from GitHub before the tutorial, you'll find it here - https://github.com/GeeH/bad-puppy.

An ideal situation would be if all attendees had a working copy of the World application running locally and ready to refactor before the start of the tutorial. If you can't get that working, don't worry! I'll bring copies of the code with me and providing you have PHP 5.5 or greater, and MySQL installed you'll be fine.

If you want to get the app running before the tutorial follow these steps:

git clone https://github.com/GeeH/bad-puppy (or your own fork) edit the database credentials in config/autoload/database.global.php to have the credentials for your database import the data/dump.sql into your database you can run the application from cli - make sure you're in the root of the application directory, and run php -S 0.0.0.0:8080 -t public/ public/index.php you should see the application running with a list of countries when you visit http://0.0.0.0:8080, like this http://c.hock.in/2f7587.png Let me know if you need help, you can reach me on Twitter @GeeH. Good luck, and I'll see you at the tutorial!

Gary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.