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.
You can find a lot of documentation on using Platform.sh with Drupal on http://docs.platform.sh/ a getting started guide can be found here: https://docs.platform.sh/drupal/ and a guide about how to migrate an existing Drupal site here: https://docs.platform.sh/drupal_migrate/
You can find a quick-start guide on using Symfony with Platform.sh here: https://docs.platform.sh/symfony/
Clone one of the example branch you want to start from:
$ git clone --branch=BRANCH-NAME [email protected]: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. It
will look like this:
$ git remote add platform [email protected]:PROJECT-ID.git
Paste this command into your newly created folder and push it to your Platform.sh project:
$ git push -u platform HEAD:master
To work with your new application it would be simpler for you to use the CLI or git to clone the remote repository into another "clean" directory without all of the other branches.
That's it!