dergachev / vagrant-drupal

Example of integration of Vagrant, deploy-drupal cookbook, and your Drupal project.
8 stars 3 forks source link

June 28 testing notes #1

Open dergachev opened 11 years ago

dergachev commented 11 years ago

Permissions bug

The top-level folder should have the right permissions. See amirkdv/vagrant_drupal#23

cd /var/shared/sites/cooked.drupal
sudo chown www-data:sudo . ; sudo chmod 575 .

Friendly URLs disabled bug:

See amirkdv/chef-deploy-drupal#2

Misc notes

# drush sql-dump syntax
drush sql-dump --root=/var/shared/sites/cooked.drupal/site --gzip --result-file=../db/dump.sql.gz

# simplify repo creation instructions
git remote set-url upstream git@bitbucket.org:alexdergachev/test-drupal.git
git pull
git push

# conditionally run apt-get update; only if hasn't run in 24 hrs
# might be useless, since we add custom PPAs
test `find "/var/lib/apt/periodic/update-success-stamp" -mtime -1` || apt-get update
amirkdv commented 11 years ago

fixed permissions bug in e398595