Added database reset commands and fixed product_details

This commit is contained in:
Paul committed 2014-01-03 22:18:32 +00:00
1 parent 4cabc12a29
commit b16471ad80
2 files changed
+7 -3

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ a2dissite 000-default
a2ensite security-workshop
service apache2 reload
# Update database
echo "Resetting database"
mysql -u root < build-vm/database.sql
# Show welcome message
IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print \$1}'`