This is a sample vanilla Magento CE installation pre-configured for use with Docksal.
Features:
- Vanilla Magento CE
fin initexample
This is a one time setup - skip this if you already have a working Docksal environment.
Follow Docksal environment setup instructions
-
Clone this repo into your Projects directory
git clone https://github.com/docksal/vanilla-magento.git cd vanilla-magento -
Initialize the site
This will create administrator and install the site with
php ./magento setup:installfin init -
Point your browser to
http://vanilla.magento.docksal
Exclude next folders from index to improve performance of IDE:
docroot/pub/media
docroot/var
Site provisioning can be automated using fin init, which calls the shell script in .docksal/commands/init.
This script is meant to be modified per project. The one in this repo will give you a good example of advanced init script.
Some common tasks that can be handled by the init script:
- initialize local settings files for Docker Compose, Magento, etc.
- import DB or perform a site install