Skip to content

zombiesplat/masterclass-repo

 
 

Repository files navigation

Object Oriented PHP Masterclass Repository

Welcome to the code repository for the Object Oriented PHP Masterclass.

You will use this repository to complete the lessons which you will receive daily over the next few weeks.

Warnings and Disclaimers

THIS CODE IS PROVIDED WITH NO WARRANTY. IT HAS NOT BEEN SECURITY REVIEWED AND CONTAINS KNOWN SECURITY VULNERABILITIES. DO NOT RUN THIS CODE IN PRODUCTION ENVIRONMENTS.

Installing This Codebase

This code base uses Vagrant. To install the code base, use these steps:

  1. Run composer install
  2. Run php vendor/bin/homestead make
  3. Edit the Homestead.yaml file to your desired configuration settings.
  4. Run vagrant up
  5. Copy the config.php-init file to config.php. Set the user to 'root' and the password to 'secret'. I use 'localhost' and 'masterclass' as hostname and database name.
  6. Use vagrant ssh to log into the box.
  7. Use mysql -uroot -p to login into MySQL.
  8. Use CREATE DATABASE masterclass; USE masterclass; source /home/vagrant/masterclass-repo/schema.sql; to create the database.
  9. Navigate to the install in your web browser. You should see the app, and be able to create an account.

About

The repository for the Object Oriented PHP Masterclass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.7%
  • HTML 10.3%