Skip to content

Instantly share code, notes, and snippets.

View bawboc's full-sized avatar

James Lawley bawboc

  • Houston
View GitHub Profile
@bawboc
bawboc / wp.sh
Created April 15, 2016 21:26 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "