Coder Social home page Coder Social logo

dwnd's Introduction

Drude on Windows Native Docker

DWND Preview image

If you are Microsoft Windows 10 user - this repo is exactly what you have looked for if you wanted to run your local Drupal-development environment using Docker!

As you probably know it's pretty painful to install and work with original Drude: Docker environment for Drupal on Windows. This hell with Vagrant and VirtualBox versions, virtual filesystems, very looong start/stop of containers because of complexity of original Drude... Well, it's not a problem anymore! We can just use Drude's Docker containers in Native Docker for Windows and do whatever we want manually! Yay!

Just remember, Drude PowerShell module and all this repo contents are not official parts of Drude! It's just workaround for Windows 10 users who suffered long enough.

docker-compose.yml

This project is mostly about docker-compose.yml. This file describes environment that will almost perfectly repeat Acquia servers and we are going to use it as our local server.

DWND Usage

  1. Clone current repo
  2. Navigate in terminal to repo directory (that contains docker-compose.yml)
  3. Use docker-compose commands work with docker-compose.yml just as with any other compose file.

OR you can install Drude Powershell Module and execute all dsh-* commands (drude-like commands) in repo root directory (that contains docker-compose.yml file). For Drude Powershell Module usage examples see wiki.

General information

Ports

All containers after start will forward their ports to your host's machine ports. It means that if you have Apache2 or MySQL servers running in your Windows - Docker will not be able to start and use needed ports because they are already used by your Windows apps.

Directories mounting

All folder with docker-compose.yml will be mounted to all containers as /var/www. So place Drupal distribution to docroot repo's folder.

MySQL Credentials

For connecting to MySQL you can use any tool like MySQL WorkBench, SQLyog or my favorite Navicat for MySQL. Surely, you can use phpMyAdmin by just copying it to docroot folder of this repo.

Credentials for connecting to MySQL in Windows tools:

  • Host: localhost
  • Port: 3306
  • User: root
  • Password: root

Credentials for connecting to MySQL in Drupal:

  • Host: db
  • Port: 3306
  • User: root
  • Password: root

Accessing Drupal site

Just open in your favorite browser one of next urls:

Documentation:

See DWND Wiki for documentation.


License

Copyright (c) 2017 Alexander Danilenko.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

dwnd's People

Contributors

alexander-danilenko avatar

Watchers

 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.