This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Sets up a database with a magento2 installation. This assumes you are running from under your httpdocs/<release> location and have www.localhost.com in your /etc/hosts file | |
# To run type : install_magento2 <dirname> <password> <release> | |
# password is used for the datbase user and the magento admin password | |
if [ $# -eq 0 ]; then | |
echo "No arguments supplied" | |
echo "Usage: `basename $0` <dirname> <password> <release>" | |
echo "e.g install_magento2.sh mage2 password 21" | |
exit 1 |