Add magento root dir and install magento first