Create a docker-compose environment to test the migration of USGO Database and site update. More or less the docker-compose environment is to help see answer, "how difficult is transfering the configuration over to a new system?"
./themes
- contains any additional themes to be installed./modules
- contains any additional modules to be installed
$ mkdir {themes,modules}
$ git clone [email protected]:usgo/usgo_wp_api_connect.git modules/usgo_wp_api_connect
$ curl -sSL https://ftp.drupal.org/files/projects/bootstrap-8.x-3.23.zip -o /tmp/bootstrap-8.x-3.23.zip && \
unzip /tmp/bootstrap-8.x-3.23.zip -d themes/ && \
rm /tmp/bootstrap-8.x-3.23.zip
$ docker-compose up
- Run through the configuration prompts on http://localhost:8000 to configure a database and make sure set mysql in the advanced settings as the db host. If one is running the configuration locally, the configurations are in
.env
. These configurations are only an example, so don't run this on a production system.
MYSQL_ROOT_PASSWORD=very_insecure_root_mysql_password
MYSQL_USER=drupal_db_user
MYSQL_DATABASE=drupal_db
MYSQL_PASSWORD=very_insecure_password