GithubHelp home page GithubHelp logo

alberto56 / docker-drupal Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 251 KB

A Docker image for testing Drupal sites. Contains a DB, a Drupal site at /srv/drupal/www, and the PHP cUrl library

Nginx 76.60% Shell 23.40%

docker-drupal's People

Contributors

alberto56 avatar edouardpoitras avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-drupal's Issues

Site exception when logging in

When logging into a site on 8.0.x, there is a site exception, the watchdog says:

 32  11/May 06:01  php                 Drupal\Component\Plugin\Exception\Plugin 
                                   NotFoundException: The                   
                                   "environment_indicator" entity type does 
                                   not exist. in                            
                                   Drupal\Core\Entity\EntityManager->getDef 
                                   inition() (line 259 of /srv/dr           

Call to undefined function Drupal\simpletest\filter_default_format()

This is really simple test, which, when run on the command line, will cause the error:

namespace Drupal\mymodule\Tests;
use \Drupal\simpletest\WebTestBase;

/**
 * Test Realistic dummy content with a temporary database.
 *
 * @group mymodule
 */
class NameOfTest extends WebTestBase {
  public static $modules = array('mymodule');

  public function testCase() {
    $node = $this->drupalCreateNode();
  }

}

This might be related to https://www.drupal.org/node/2454513

Make Drupal root a git repo

It is possible that the application using a specific version of Drupal, say, 8.0.0-beta10, might want to upgrade. It is easier to upgrade to a specific commit if we are under git.

memory exhausted

When running moderately complex tests in the GUI we get something like:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7693546 bytes) in /srv/drupal/www/core/lib/Drupal/Component/Utility/SafeMarkup.php on line 94

We might want to add this to nginx.conf?

# see http://serverfault.com/questions/500143/nginx-php-fpm-how-to-specify-memory-limit-for-an-application
fastcgi_param PHP_VALUE "memory_limit = 128M"

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.