X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;ds=sidebyside;f=prj-site-make;h=f1009016ebb338abfd9e32a188f0400b8978bd82;hb=4ebd6d3a6e1df94f6b8923bac424ecbe9999a31a;hp=d346be7b3291fc27c104ea528b3c86b7fa67cd64;hpb=3e4c8a19893657ec383c590227e7e4f0b9e09dc0;p=prj-utils.git diff --git a/prj-site-make b/prj-site-make index d346be7..f100901 100755 --- a/prj-site-make +++ b/prj-site-make @@ -1,7 +1,4 @@ -#email="dlugolecki.rafal@gmail.com" -sql_user = rdlugoleck_${name} -# this allows me to evaluate pwgen result to value -$(eval sql_password := $(shell pwgen -1 -s 50)) +email="example@example.com" apache_sites = '/etc/apache2/sites-available' project_dir = `pwd`/${name} host = ${name} @@ -128,6 +125,8 @@ create-drupal: create-directories cd ${project_dir}/www && drush en seven toolbar shortcut -y cd ${project_dir}/www && drush vset admin_theme seven +enable-drupal: + purge-drupal: echo "> Removing SQL user" sudo mysql --defaults-file=/etc/mysql/debian.cnf -e "DROP USER '${sql_user}'@'localhost';"