Skip to content
Magento boilerplate with default content powered by Docksal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docksal Added default empty docksal.yml May 31, 2018
docroot Update repository Feb 2, 2017
.gitignore Adding assets to repository to make them available on Demo install Feb 2, 2017
.travis.yml
README.md Removed Windows host file instructions in init Aug 15, 2017

README.md

Docksal powered Magento CE Installation

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

Setup instructions

Step #1: Docksal environment setup

This is a one time setup - skip this if you already have a working Docksal environment.

Follow Docksal environment setup instructions

Step #2: Project setup

  1. Clone this repo into your Projects directory

    git clone https://github.com/docksal/magento.git
    cd magento
    
  2. Initialize the site

    This will create administrator and install the site with php ./magento setup:install

    fin init
    
  3. Point your browser to

    http://magento.docksal
    

PHPStorm settings

Exclude next folders from index to improve performance of IDE:

docroot/pub/media
docroot/var

More automation with 'fin init'

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
You can’t perform that action at this time.