This repository is a collection of various example configurations demonstrating the flexibility of Platform.sh
.
Each example is a specific branch that you can use as a starting point for your Platform.sh project.
Clone one of the example branch you want to start from:
$ git clone --branch=BRANCH-NAME git@github.com:platformsh/platformsh-examples.git my-project
$ cd my-project
If you start from a new Platform.sh project, choose the start with an existing repository
option and copy the remote add
command.
Paste this command into your newly created folder and push it to your Platform.sh project:
$ git remote add platform PROJECT-ID@git.eu.platform.sh:PROJECT-ID.git
$ git push -u platform HEAD:master
That's it!