Skip to content

gmoigneu/platformsh-example-magento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2.0 Community Edition

This is a no-thrills example of a minimal repository to deploy a Magento 2 Community Edition instance on Platform.sh.

This example is based on using the Composer to build the site. You can see there is not much in terms of files comitted to this repository.

This is the whole layout of the repository (it will still make for a perfectly functional web site on http://platform.sh !)

.platform/
         /routes.yaml
         /services.yaml
.platform.app.yaml
auth.json
composer.json
magento-vars.php
php.ini

in .platform.app.yaml we have the basic configuration of our applicaiton (we call it mymagento), saying this is a Composer based application, that we depdend on a database called database and that we what to run a build script and a deploy script during deployment.. and also set up some crons.

In .platform/routes.yaml we just say that we will redirect www to the naked domain, and that the application that will be serving HTTP will be the one we called php.

In .platform/services.yaml we say we want a MySQL instance, a Redis and a Solr. That would cover most basic Magento needs, right?

The composer.json will fetch the Magento 2.0 Community Edition, and some configuration scripts to prepare your application for Platform.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages