Browse Source

install.sh

windhamdavid 4 years ago
parent
commit
475b8e8f2e
1 changed files with 12 additions and 0 deletions
  1. 12 0
      _install.sh

+ 12 - 0
_install.sh

@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+echo "========================"
+echo "WindhamDavid / WordPress"
+echo "========================"
+echo "cp wp-config-sample.php to wp-config.php"
+cp wp-config-sample.php wp-config.php
+echo "Generating WordPress Salts for DotEnv"
+bin/wpsalts dotenv --clean >> .env
+echo "Copying WordPress default (twentytwenty) theme to app/themes"
+cp -R wp/wp-content/themes/twentytwenty app/themes/twentytwenty
+echo "/* you know the drill */"
+echo "More info is available @ https://github.com/windhamdavid/wp"