Code Monkey home page Code Monkey logo

development-environment's Introduction

Vagrant PHP Development Environment

Introduction

Developing fast requires a fast development environment being built on every developer computer. We will attempt to make it available under a VirtualBox + Vagrant + Docker provisioning on every operating system, based on Debian Jessie.

Available tools

Within the development environment, you will find a set of tools that are already configured and ready to use:

  • MySQL
  • Redis
  • Memcached
  • RabbitMQ Management (with auto-cluster and webstomp plugins enabled)
  • Consul
  • Consul Registrator
  • Vault with Consul Backend
  • VaultUI
  • Development WebServer

Looking closely, you will see that this environment is fully targeted for the Microservices architecture, however it will work just fine for a monolithic application.

Index

  • Requirements
  • Configuration
  • Installation
    • Unix Environment
    • Windows Environment (TODO)
  • Final Thoughts

License

This package is released under MIT License. For more more information please view LICENSE file that is distributed with this source code

development-environment's People

Contributors

miguelsimoes avatar

Watchers

 avatar  avatar

development-environment's Issues

Docker 17.11.0 requires cgroup_enable=memory on grub

To start the development environment, we will need to change grub configuration. For that, we require the following steps:

  1. Start vagrant with vagrant up
    1.1. It will show errors when starting the docker engine
  2. Enter the instance with vagrant ssh
  3. Edit file /etc/default/grub
  4. Change the line from GRUB_CMDLINE_LINUX_DEFAULT="quiet " to
    GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory"
  5. Save and exit
  6. Run sudo update-grub2
  7. Restart the vagrant instance with vagrant reload --provision

With this, all will go well.

NOTE: This needs to be changed so it does not require a failed boot before it will run properly.

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.