GithubHelp home page GithubHelp logo

m1r1k / drupal_ansible_vagrant Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 290 KB

Contains vagrant box and ansible provision scripts for drupal env

Makefile 23.97% Erlang 8.21% Shell 2.05% PHP 65.77%

drupal_ansible_vagrant's Introduction

Readme file for the Ansible Drupal VM project

Template to create flexible and ready to go vagrant box with L(A|N)MP inside.

Right now such features are available:

  • Apache 2.x
  • Mysql
  • PHP 5.(4|5)
    • Xdebug
    • APC
    • Packages for mysql, uploadprogress, memcache, etc
  • Memcache
  • Varnish
  • Git
  • Apache Solr (3|4).x (based on java and tomcat6)
  • Composer
  • Drush
  • Ruby
    • With small workaround it's possible to install any set of gems

TODO

  • Fix gems installation for given user
  • Configurable solr config sync
  • Nginx
  • Xhprof
  • PHPCS & CSSlist & JSlint
  • Behat with silenium
  • Windows integration
  • Performance improvements
    • Enable swap
    • Everything into the memory
    • Something else?
  • Monitor everything (logs, performance, memory usage, etc)

Installation

  • Clone project somewhere to your machine
  • Modify Vagrantfile
    • Modify synced_folder settings to your project root
    • Modify memory usage (Default is 4048 MB)
    • Modify domain name in ./ansible/vars/geerlingguy-apache.yml
    • Modify database name in ./ansible/vars/geerlingguy-mysql.yml (credentials are root/root)
    • Modify private VM network IP in Vagrantfile and ./ansible/inventories/dev
    • Modify VM name - v.name = "PROJECT_NAME"
  • Vagrant up
  • Vagrant ssh
  • Change /etc/hosts on your machine to use private VM network IP for your domain.

drupal_ansible_vagrant's People

Contributors

spheresh avatar yuboychenko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

spheresh citeam

drupal_ansible_vagrant's Issues

DNS doesn't work

vagrant@vagrant-ubuntu-trusty-64:$ ping google.com
ping: unknown host google.com
vagrant@vagrant-ubuntu-trusty-64:
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=63 time=45.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=63 time=45.0 ms
^Z
[1]+ Stopped ping 8.8.8.8

solr config step is broken (may be it is my local problem)

TASK: [m1r1k-solr-config | Copy drupal specific solr configs to solr] *********
failed: [192.168.111.111] => {"changed": true, "cmd": "cp -R /var/www/solr-conf/* /opt/solr/example/multicore/core0/conf/ ", "delta": "0:00:00.004012", "end": "2014
-12-04 23:06:37.501084", "item": "", "rc": 1, "start": "2014-12-04 23:06:37.497072"}
stderr: cp: cannot stat '/var/www/solr-conf/*': No such file or directory

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.