Skip to content

violinist-dev/tms-drupal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tonga Met App Backeend

Tonga Met App Backeend

Getting started with Docker Dev environment using docker4drupal

# When starting for the first time copy the override-sample file and update as
needed

cp docker-compose.override-sample.yml docker-compose.override.yml

# If you dont have a settings.php copy the default one

cp settings.default.php sites/default/settings.php

# Also update the .env file with your project name. Then start up docker-compose

docker-compose up -d

The settings.docker.php file will map into the docker environment for environment specific configs. This is a good place to put sensitive configs (not for commiting to git) such as passwords. On production you can create a settings.local.php and override the configs.

Once installed you can access the dev site on port 8000. e.g. tms.docker.localhost:8000

Common commands

# start up dev environment
docker-compose up -d

# stop environment
docker-compose stop

# delete everything and start in a clean environment
docker-compose down -v

# check logs
docker-compose logs -f

# check logs for specific container
docker-compose logs -f php

# log into php container (this will allow use of drush and composer)
docker-compose exec php sh

Tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.2%
  • CSS 3.3%
  • JavaScript 2.8%
  • Twig 2.6%
  • HTML 0.1%