Coder Social home page Coder Social logo

galileo-laravel's Introduction

Galileo (Laravel)

This repo houses the Puppet manifests and Vagrantfile that we use for local Laravel 4 based development on Mac OS X.

Puppet manifests included:

  • NGINX
  • PHP-FPM (extensions: mcrypt, cli, apc, xdebug, apc)
  • MySQL
  • Composer
  • Laravel 4

Requirements

  • VirtualBox
  • Vagrant

Setting it Up

  1. Clone the Galileo repo into where you want to have your Vagrant box setup. This repo contains the Vagrantfile which will configure your box and Puppet manifests for provisioning of the box.

     git clone https://github.com/bureaublank/galileo-laravel.git
    
  2. Once cloned, cd into the directory, and run:

     vagrant up
    
  3. This will start the process. It may take a while depending on your connection!
    A few things are happening: First, it's downloading an Ubuntu 12.04 Precise32 box if you don't already have it. After that's done, the box will boot and Puppet will provision the empty box with the stack described above.

  4. Once it's all done, just go to http://localhost:8888 in a web browser and you should see the default Laravel 4 "Hello World!" page.

  5. **The www/ folder where you clone the repo is the web root shared with the virtual machine and where Laravel was installed into. **


Accessing MySQL from Sequel Pro

If you like using Sequel Pro to manage your MySQL databases, you'll be happy to know that you can connect to the MySQL server running inside of the virtual box through Sequel Pro:

  1. Use the SSH option to connect

  2. Default credentials are as follows:

     MySQL Host: 127.0.0.1
     Username: myadmin
     Password: (blank)
     
     SSH Host: localhost
     SSH User: vagrant
     SSH Pass: vagrant
     SSH Port: 2222
    
  3. Click YES to accept the message about keys.

galileo-laravel's People

Contributors

prik avatar

Watchers

 avatar James Cloos avatar

Forkers

galador wilo

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.