This is a 5-minute guide on how to place the code under version control and automate its deployment.

Action used in this guide:

Import an existing website to a new Buddy project

Working with Buddy is based on projects consisting of:

  • The Git repository with the source code of the website.
  • The delivery automation pipelines.

Create a new project and use the import from an FTP server option. You have to enter the FTP server information and the path, and Buddy will download the files and commit them into the repository.

Here is how to do it:

Playing with the Git repository

Upon completion of the import process, the code will appear under Code tab. Here you can browse the contents of your repository, create and manage branches, view commit history and edit files in a handy code editor—all most popular Git features available with a click of a mouse button.

Your Code In the Repository

If you’re not familiar with Git, please refer to our guide

Running your first pipeline

When importing the files from an FTP location, Buddy automatically sets up a continuous delivery pipeline for you. This pipeline will deploy every change you make to the code to the FTP server, according to the data entered by you for the source code import process.

Automatically Created Pipeline and Its Actions

Now let's give the pipeline a try, follow the steps below:

  • Go to Code tab.
  • Change what you need in the code and save changes (in this example we shall change index/php).
  • Go to Pipelines and run the continuous delivery pipeline created by Buddy.
  • View the site in the browser.

Once you're ready with the changes, the only thing that remains is clicking the Run button and Buddy will automatically deploy your changes—you didn’t have to select the files manually, upload them, enter login data or complete any other boring and time-consuming task.

Love it? We have good news for you—you can set up as many pipelines as you want! Pipelines—the core of Buddy—are flexible and easy to use and will assist you in completing any tasks that can be possibly automated.

If you want to learn more about pipelines, check out this guide.

Other things to keep in mind

Editing files online is cool as long as you’re dealing with small fixes. If you want to work on new features, it’s much better to develop them locally. To do this, you just have to clone the repository, commit the changes and push them to Buddy. You can read more on how to move on with Git here.

Also, the application under development usually requires some testing and building. Only after completing these tasks it’s ready for the delivery. Buddy can help you automate them—see the following guides:

What next?

This is just a brief summary of what Buddy offers regarding version control, development, and deployment. If you are interested in our solution, you can read more about Buddy in other guides.

If you have any further questions, don’t hesitate to contact us at or simply register for the trial version and have a look at Buddy.

Thanks for reading!