Giter Site home page Giter Site logo

php-workers-tutorial's Introduction

PHP-Workers-Tutorial

Git Repository with my code for the PHP Workers Tutorial

Setup

Git

Clone the repository from your command line:

git clone https://github.com/JustinCarmonyDotCom/PHP-Workers-Tutorial.git
cd PHP-Workers-Tutorial

Initialize & Update the submodules so that you can use the Beanstalk Console:

git submodule init
git submodule update

Composer

Now we need to install our dependencies from composer. You can find out how to setup composer here. So in the root of the project you should be able to run:

composer.phar install

Setup Config File

In the root of the project there is a config.sample.php which you need to copy to config.php. It just requires a API key for http://www.dictionaryapi.com/ (or you can just use mine that is in the sample).

Vagrant

Now, we use Vagrant to setup an environment for our demo. Make sure you have VirtualBox (or another vagrant provider) and Vagrant installed. Once they are installed you can go into the vagrant folder and vagrant up the project:

cd vagrant
vagrant box add precise64 http://files.vagrantup.com/precise64.box
vagrant up

If there are no errors, you should see something like this:

[default] Running provisioner: puppet...
Running Puppet with base.pp...
stdin: is not a tty
Info: Applying configuration version '1370578233'
Notice: /Stage[main]/Redis/Package[redis-server]/ensure: ensure changed 'purged' to 'present'
... more install notices ...
Notice: Finished catalog run in 317.18 seconds

php-workers-tutorial's People

Contributors

evandotpro avatar justincarmony 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.