set up database and magento too