GithubHelp home page GithubHelp logo

mparker17 / fig-drupal_stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 124 KB

A fig configuration that sets up an Apache-PHP-MySQL stack with some additional Drupal containers.

License: GNU General Public License v2.0

fig-drupal_stack's Introduction

fig-drupal_stack

A fig configuration that sets up an Apache-PHP-MySQL stack with some additional Drupal containers.

Note this is just a proof-of-concept. You very likely don't want to use this in a production environment.

Install

Before you start, you need to know whether you have to run Docker commands using sudo or not. If so, prefix all fig and docker commands with sudo below.

  1. Install docker.
    • Test it works with docker run hello-world
  2. Install fig.
    • Test it works with fig --version
  3. Put a PHP web application inside the webroot folder (e.g.: Drupal).
    • If the web application requires write-access to a certain file or folder, you'll have to set permissions with chmod g+w $path ; chown -R :33 $path.
    • If the web application has trouble writing to the database, you'll have to set permissions with chown -R :999 db.

Usage

  1. From a terminal, run:

     fig up
    

You can now run the PHP web application by visiting http://localhost/

fig-drupal_stack's People

Contributors

mparker17 avatar

Watchers

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