Skip to content

Magento 2 EE example for Platform.sh. For demonstration purposes only.

License

OSL-3.0 and 2 other licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt
AFL-3.0
LICENSE_AFL.txt
Notifications You must be signed in to change notification settings

ctidigital/platformsh-example-magento

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Magento 2.0 Enterprise Edition

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

This example is based on using the Composer to load up dependencies and get the Magento vendor folders.

Repository structure

Here are the specific files for this example to work on 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 application (we call it mymagento), saying this is a Composer based application, that we depend 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 Enterprise Edition, and some configuration scripts to prepare your application for Platform.sh.

Make sure you add your Magento credentials to the auth.json file and that those credentials can get you access to Magento Enterprise Edition. You can get those credentials in your MagentoCommerce account.

"http-basic": {
      "repo.magento.com": {
         "username": "<public-key>",
         "password": "<private-key>"
      }
   }

About

Magento 2 EE example for Platform.sh. For demonstration purposes only.

Resources

License

OSL-3.0 and 2 other licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt
AFL-3.0
LICENSE_AFL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 57.0%
  • HTML 25.9%
  • JavaScript 9.8%
  • CSS 7.1%
  • ApacheConf 0.1%
  • XSLT 0.1%