A simple D3 plot for www.bradfordcondon.com. This is for a blog series on breaking down and understanding D3.js, version 3. This is Blog post number one.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once '../includes/tripal_alchemist.api.inc'; | |
use PHPUnit\Framework\TestCase; | |
use PHPUnit\DbUnit\TestCaseTrait; | |
//Change this path for the docker! | |
define('DRUPAL_ROOT', '/Users/chet/UTK/tripal'); | |
$start = getcwd(); | |
require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; | |
$_SERVER['REMOTE_ADDR'] = '127.0.0.1'; |
Still under construction. Converting my v3 d3 plot to a bl.ock.
This plot demonstrates how to create a very simple grouped bar plot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose up -d nginx mysql # bring up container with nginx and mysql | |
docker-compose exec workspace bash # enter workspace | |
docker-compose exec --user=laradock workspace bash # To have files created as the host's user, specify user = laradock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#remove all images | |
docker rmi $(docker images -a -q) | |
#stop and remove all containers | |
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) | |
#remove all volumes | |
docker volume rm $(docker volume ls -f dangling=true -q) | |
# List all images | |
docker images |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker volume ls #list all volumes | |
docker-compose up #start a container via docker compose | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run database updates | |
drush updatedb | |
## Force a specific update to run | |
drush eval "module_load_install('tripal_elasticsearch'); tripal_elasticsearch_update_7201();" | |
drush dre [modulename] #disable, uninstall, re-install, enable module |
NewerOlder