Import your own code

Build, Deploy, Done!

With your configuration files complete, all that's left is to commit the changes and push to Platform.sh.

</asciinema-player>

  1. Commit and push

    Run the commands

     git add .
     git commit -m "Add config files."
     git push -u platform master
    

    Platform.sh will detect the presence of your configuration files and use them to build the application.

  2. Verify

    When the build is completed, you can verify the deployment by typing the command

     platform url
    

    This will return a list of your routes. Pick the primary route 0 and click Enter, which will open your application in a browser window.

    Alternatively, you can also log back into the management console in your new project. Select the Master environment in the Environments list and click the link below the Overview box on the left side of the page.

That's it! Using the Platform.sh CLI and a few properly configured files, pushing your application to run on Platform.sh takes only a few minutes.

Now that your code is on Platform.sh, check out some of the Next Steps to get started developing.