alberto56 / docker-drupal Goto Github PK
View Code? Open in Web Editor NEWA Docker image for testing Drupal sites. Contains a DB, a Drupal site at /srv/drupal/www, and the PHP cUrl library
A Docker image for testing Drupal sites. Contains a DB, a Drupal site at /srv/drupal/www, and the PHP cUrl library
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
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
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.
Every time tests are run, we get something like: Gateway timeout.
http://www.codetweet.com/nginx/solved-504-gateway-timeout-error-in-nginx-web-server/ solves it. We should implement that for the development box.
See also https://www.drupal.org/node/2189345
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.