Giter VIP home page Giter VIP logo

drupaldeploy's Introduction

Drupal Deploy

This is a drupal deploy development environment.

You can use this to test our your drupal environment deploys using docker and then push those same images to a testing, QA, and then on to Prod.

There are two modes, the headless mode from default install of VM or a desktop if you select intellij

Once you have deployed the HEADLESS option, you can access jenkins from http://localhost:8080 You can also ssh into your machine and play with docker directly with vagrant ssh.

The second mode enables the desktop, just select the intellij build option from the menu. If you want to enable desktop but you're not using the GUI in build.sh run:

sed -e 's/gui = false/gui = true/g' Vagrantfile

Installation

Run the following:

  • git checkout [email protected]:levidehaan/drupaldeploy.git
  • ./installVagrant.sh (this is primarily for mac's, you can use these tools on MLW )
  • ./build.sh

If you have a problem running installVagrant.sh here is a list of what it installs and how to install by hand:

Install homebrew if it's not installed:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install a lib called Dialog using this command:
You may be able to install this on windows, but it'd be a bit of a pita.

brew install dialog

Install a tool called wget

brew install wget

it then installs vagrant if it's not installed using this command (I've included all 3 operating systems):

Mac:

wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.2.dmg hdiutil mount vagrant_1.6.3.dmg

Linux (Debian):

wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.2_x86_64.deb sudo dpkg -i vagrant_1.6.3_x86_64.deb

Windows:

wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.2.msi msiexec /I vagrant_1.6.3.msi

Setting up Drupal

Once you have built your docker container and run the deploy go to

http://localhost:8080/

Once you get to the database setup your database information is (you can use root user or drupal user):

Username: root -|- drupal
password: cheesedoodles -|- cheese
Host: DB (just type DB in the host/ip area, it will use the env var passed by --link)

In progress

Finished! for now...

Misc

If you want to keep your files in puppet and jenkins synced to the guest; run: vagrant rsync-auto

I would also recommend installing the plugin Vagrant-Rsync-Back:

Install: vagrant plugin install vagrant-rsync-back
Usage: vagrant rsync-back

This will enable you to sync changes back to the host machine once you're happy with your changes on the guest.

Currently the only folder that syncs both ways automatically is the develoment folder (it is really slow).

The Jenkins and Puppet folders are rsynced one way to the guest operating system. If you use vagrant-rsync-back you can sync back to the host.

drupaldeploy's People

Contributors

levidehaan avatar sirkitree avatar

Stargazers

Paul Gregoire avatar Mike Dillion avatar

Watchers

 avatar James Cloos avatar

Forkers

sirkitree

drupaldeploy's Issues

Errors on ./installvagrant.sh

While running ./installvagrant.sh I get the following:

expr: syntax error
expr: syntax error
expr: syntax error

edit: osx 10.10.1

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.