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

Commit

Permalink
PR #111: Replace phpMyAdmin with Adminer.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jun 3, 2015
1 parent ad2b6f2 commit f3dcf94
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ It will install the following on an Ubuntu 14.04 (by default) linux VM:
- Memcached
- XHProf, for profiling your code
- XDebug, for debugging your code
- PHPMyAdmin, for accessing databases directly
- Adminer, for accessing databases directly
- Pimp my Log, for easy viewing of log files
- MailHog, for catching and debugging email

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

installed_extras:
- adminer
- mailhog
- memcached
- phpmyadmin
- solr
- xdebug
- xhprof
Expand Down
3 changes: 2 additions & 1 deletion example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ mysql_users:

# Comment out any extra utilities you don't want to install.
installed_extras:
- adminer
- mailhog
- memcached
- phpmyadmin
- pimpmylog
# - solr
- xdebug
Expand Down Expand Up @@ -116,6 +116,7 @@ php_opcache_max_accelerated_files: 4096
# MySQL Configuration.
mysql_slow_query_log_enabled: true
mysql_slow_query_time: 2
adminer_add_apache_config: true

# Pimp my Log settings.
pimpmylog_install_dir: /usr/share/php/pimpmylog
Expand Down
2 changes: 1 addition & 1 deletion prod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Your DigitalOcean Droplet is booted and ready to have Drupal VM installed on it.

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).

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).
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).

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:

Expand Down
2 changes: 1 addition & 1 deletion provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- { role: geerlingguy.php-memcached, when: '"memcached" in installed_extras' }
- { role: geerlingguy.php-xdebug, when: '"xdebug" in installed_extras' }
- { role: geerlingguy.php-xhprof, when: '"xhprof" in installed_extras' }
- { role: geerlingguy.phpmyadmin, when: '"phpmyadmin" in installed_extras' }
- { role: geerlingguy.adminer, when: '"adminer" in installed_extras' }
- { role: geerlingguy.pimpmylog, when: '"pimpmylog" in installed_extras' }
- { role: geerlingguy.daemonize, when: '"mailhog" in installed_extras' }
- { role: geerlingguy.mailhog, when: '"mailhog" in installed_extras' }
Expand Down
2 changes: 1 addition & 1 deletion provisioning/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
geerlingguy.adminer
geerlingguy.apache
geerlingguy.composer
geerlingguy.daemonize
Expand All @@ -15,7 +16,6 @@ geerlingguy.php-mysql
geerlingguy.php-pecl
geerlingguy.php-xdebug
geerlingguy.php-xhprof
geerlingguy.phpmyadmin
geerlingguy.pimpmylog
geerlingguy.repo-remi
geerlingguy.security
Expand Down

0 comments on commit f3dcf94

Please sign in to comment.