This project provides a starter kit for Magento 1 Community Edition projects hosted on Platform.sh. It is the recommended way to start a Magento 1 project on Platform.sh.
To start a new project based on this template, follow these 3 simple steps:
-
Clone this repository locally. You may optionally remove the
origin
remote or remove the.git
directory and re-init the project if you want a clean history. -
Create a new project through the Platform.sh user interface and select "Import an existing project" when prompted.
-
Run the provided Git commands to add a Platform.sh remote and push the code to the Platform.sh repository.
That's it! You now have a working Magneto 1 project you can build on.
You can also use this repository as a reference for your own projects, and borrow whatever code is needed. The most important parts are the .platform.app.yaml
file and the .platform
directory. You will also need the magento-build.php
, magento-deploy.php
, and magento-vars.php
files, as well as the supporting Platformsh.php
library.