Docker enables fast local environments. Tokaido gets you quickly up and running.
If you already have Docker, update to the latest version, otherwise, download Docker from https://docs.docker.com/docker-for-mac/install. You will need to login with your Docker ID and password.
brew tap ironstar-io/tap
brew install tokaido
Acquia Cloud Site Factory makes it one-click easy to archive any Drupal site (codebase, database, files, theme). These bacups are a good entry-point for trying Tokaido.
-
Download any site archive from your Factory: https://www.[customer].acsitefactory.com/site-archive-list
-
Unpack it
-
Navigate into your project directory with your Terminal (bash prompt), then
git init
tok up
-
If you are prompted to install
mkcert
follow the instructions -
To open the site in Chrome
tok open
- To ssh into your Docker container
ssh customer_3176_1559787588.tok
I recommend installing Drupal (with the minimal
profile) just to quickly set up a database (any database)
- To import the database dump from your Drupal archive, first ssh into your Docker container, then
drush sqlc < ../database.sql
- If that works, get your
uli
drush uli
- If you to browser your database with Adminer, do
tok config-set services adminer enabled true
tok rebuild
tok open adminer
The Adminer details I used are
mysql (for database type)
tokaido
tokaido
tokaido