Skip to content

Instantly share code, notes, and snippets.

@novia713
Created April 23, 2019 17:42
Show Gist options
  • Select an option

  • Save novia713/29c950336938fef9f6c09de41f2cd0e3 to your computer and use it in GitHub Desktop.

Select an option

Save novia713/29c950336938fef9f6c09de41f2cd0e3 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /Users/leandro/docker/madriddigital-hospitales/
docker-compose stop
git pull --ff-only
docker-compose up -d --build
docker-compose exec php composer install -o
docker-compose exec php vendor/bin/drush cim
docker-compose exec php vendor/bin/drush entup
docker-compose exec php vendor/bin/drush updb
docker-compose exec php vendor/bin/drush uli -l madriddigital-hospitales.docker.localhost:8000
docker-compose exec php bash
@novia713
Copy link
Author

vendor/bin/phpmd web/modules/custom/ text codesize,unusedcode,naming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment