Build, Deploy, Done!
With your configuration files complete, all that’s left is to commit the changes and push to Platform.sh.
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.
When the build is completed, you can verify the deployment by typing the command
This will return a list of your routes. Pick the primary route
0and 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
Masterenvironment in the
Environmentslist 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.