Git Product home page Git Product logo

phpell's Introduction

PHPell

PHPell is an open source Vagrant VM configuration with bash(sh) provision for PHP development.

It was inspired by PuPHPet and Phansible.

PHPell includes:

  • Vagrant VM with Ubuntu 14.10 and bash(shell) provision.
  • Oracle Java 8 (6, 7);
  • Apache 2.4;
  • PHP 5.6 (5.5, 5.6);
  • Nginx 1.7 (1.6);
  • MySQL 5.6 (5.6);
  • MariaDB 10.0 (5.5);
  • PostgreSQL 9.4 (9.3);

TODO

  • Add Memcached;
  • Add Redis;
  • Add MongoDB;
  • Add Nginx + PHP-FPM;
  • Add HHVM

Installation

  1. Edit configuration in Vagrantfile and config.sh

  2. Install Vagrant VM from console:

cd /path/to/your/phpell
vagrant up

Usage

Run Vagrant VM from console:

cd /path/to/your/phpell
vagrant ssh

Helpers

In the VM you can use helpers for virtual hosts:

  1. Helper create-host create new host and new user (has name as new host) and create-web-user create only new user:

    sudo create-host example.local password_for_example
    sudo create-web-user example.local password_for_example
  2. Helper enable-host enable host:

    sudo enable-host example.local
  3. Helper disable-host disable host:

    sudo disable-host example.local
  4. Helper create-mysql-db create new empty MySQL DB with granted user:

    create-mysql-db example_db example.local password_for_example root_password
    mysql -u example.local -ppassword_for_example -d example_db
  5. Helper mysql-backup zip and backup MySQL DB to /var/backups/example.local directory:

    mysql-backup example_db example.local password_for_example
  6. Helper create-postgres-db create new empty Postgres DB with granted user:

    sudo create-postgres-db example_db example.local password_for_example
    sudo -u example.local psql -U example.local -d example_db
  7. Helper mysql-postgres zip and backup Postgres DB to /var/backups/example.local directory:

    mysql-postgres example_db example.local password_for_example

License

The PHPell is open source software licensed under the GPLv3 license.

phpell's People

Contributors

corpsee avatar

Watchers

James Cloos 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.