This is a sample Magento CE installation with default content pre-configured for use with Docksal.
Features:
- Magento CE with predefined content
fin init
example
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/magento.git cd magento
-
Initialize the site
This will create administrator and install the site with
php ./magento setup:install
fin init
-
Point your browser to
http://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