Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit f3dcf94

Browse files
committed
PR #111: Replace phpMyAdmin with Adminer.
1 parent ad2b6f2 commit f3dcf94

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It will install the following on an Ubuntu 14.04 (by default) linux VM:
2121
- Memcached
2222
- XHProf, for profiling your code
2323
- XDebug, for debugging your code
24-
- PHPMyAdmin, for accessing databases directly
24+
- Adminer, for accessing databases directly
2525
- Pimp my Log, for easy viewing of log files
2626
- MailHog, for catching and debugging email
2727

@@ -78,9 +78,9 @@ Note: *If there are any errors during the course of running `vagrant up`, and it
7878
By default, this VM includes the extras listed in the `config.yml` option `installed_extras`:
7979

8080
installed_extras:
81+
- adminer
8182
- mailhog
8283
- memcached
83-
- phpmyadmin
8484
- solr
8585
- xdebug
8686
- xhprof

example.config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ mysql_users:
7272

7373
# Comment out any extra utilities you don't want to install.
7474
installed_extras:
75+
- adminer
7576
- mailhog
7677
- memcached
77-
- phpmyadmin
7878
- pimpmylog
7979
# - solr
8080
- xdebug
@@ -116,6 +116,7 @@ php_opcache_max_accelerated_files: 4096
116116
# MySQL Configuration.
117117
mysql_slow_query_log_enabled: true
118118
mysql_slow_query_time: 2
119+
adminer_add_apache_config: true
119120

120121
# Pimp my Log settings.
121122
pimpmylog_install_dir: /usr/share/php/pimpmylog

prod/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Your DigitalOcean Droplet is booted and ready to have Drupal VM installed on it.
3131

3232
Just like you would with the normal `example.config.yml`, you need to customize `example-prod.config.yml` for your site, and move the configuration file into the root directory of the project (in the same directory as the Vagrantfile).
3333

34-
The main differences between the prod example `config.yml` and the normal example is that all development-environment tools (like Pimp My Log and PHPMyAdmin) are _not_ installed, and some extra security hardening configuration is added (via the `extra_security_enabled` variable).
34+
The main differences between the prod example `config.yml` and the normal example is that all development-environment tools (like Pimp My Log and Adminer) are _not_ installed, and some extra security hardening configuration is added (via the `extra_security_enabled` variable).
3535

3636
The only other thing you need to change, after copying and configuring `example-prod.config.yml`, is the inventory file at `prod/inventory`. By default, it reads:
3737

provisioning/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- { role: geerlingguy.php-memcached, when: '"memcached" in installed_extras' }
3030
- { role: geerlingguy.php-xdebug, when: '"xdebug" in installed_extras' }
3131
- { role: geerlingguy.php-xhprof, when: '"xhprof" in installed_extras' }
32-
- { role: geerlingguy.phpmyadmin, when: '"phpmyadmin" in installed_extras' }
32+
- { role: geerlingguy.adminer, when: '"adminer" in installed_extras' }
3333
- { role: geerlingguy.pimpmylog, when: '"pimpmylog" in installed_extras' }
3434
- { role: geerlingguy.daemonize, when: '"mailhog" in installed_extras' }
3535
- { role: geerlingguy.mailhog, when: '"mailhog" in installed_extras' }

provisioning/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
geerlingguy.adminer
12
geerlingguy.apache
23
geerlingguy.composer
34
geerlingguy.daemonize
@@ -15,7 +16,6 @@ geerlingguy.php-mysql
1516
geerlingguy.php-pecl
1617
geerlingguy.php-xdebug
1718
geerlingguy.php-xhprof
18-
geerlingguy.phpmyadmin
1919
geerlingguy.pimpmylog
2020
geerlingguy.repo-remi
2121
geerlingguy.security

0 commit comments

Comments
 (0)