Giter Site home page Giter Site logo

masterclass-repo's Introduction

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

NOTE: these instructions are for Mac or Linux. You're unfortunately on your own for Windows.

  1. Fork this repository. You'll see the Fork option and you can fork it to your own GitHub.
  2. Clone the repository using git clone.
  3. Create a virtual host (see the virtual host data at the bottom of this file). Also add an entry to your /etc/hosts file.
  4. Create a database in MySQL.
  5. Use the schema.sql file to create a database schema.
  6. Copy config.php-init to config.php and fill in the database information.
  7. Copy public/htaccess-dist to public/.htaccess.
  8. Go to your local site and create a user account.

Virtual Host Configuration

Use the following VirtualHost configuration:

<VirtualHost *:80>
    ServerName news.local
    DocumentRoot /path/to/codebase/public

    <Directory /path/to/codebase/publicpublic>
        DirectoryIndex index.php
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

masterclass-repo's People

Contributors

brandonsavage avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.