The basic unit for organizing work within Platform.sh is a project. Each project represents one Git repository, a centralized place to store code and work history. For now, Platform.sh represents the source of truth for your repository. You can later set up an integration with GitHub, Bitbucket, or GitLab.
To deploy your app, you need to connect its repository to a project in Platform.sh.
First, create a Platform.sh project by running the following command:
Then go through each of the steps to create the project:
- Give it a title.
- Choose a region. The CLI lists each region’s location, cloud provider, and average carbon intensity.
- Choose a plan. A Development plan is enough before you deploy anything.
- Select enough environments. This defaults to 3 environments, which are included in any production-level plan, but you can add more.
- Select enough storage. This defaults to 5 GiB, which is included in any production-level plan, but you can add more.
- Choose a default branch.
This defaults to
main, but you can always change it later.
A Git repository is automatically initialized and Platform.sh is set as a remote.
Now your project is initialized and ready for you to make changes.