Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Latest commit

 

History

History
63 lines (43 loc) · 2.08 KB

quickstart.markdown

File metadata and controls

63 lines (43 loc) · 2.08 KB
layout title
default
Quickstart

This guide will walk you through the minimum steps to setup your Github or Bitbucket repository to automatically build, test and deploy you code using drone.io.

This guide assumes the following pre-requisites:

  • You have Bitbucket or Github account
  • You created a Drone account
  • You own or administer at least one public Github or Bitbucket repository

Setup your Project

Login to Drone and click on the New Project button in the upper-right corner of your screen: Dashboard

Pick where your source code is hosted: Host

Select your repository from the list: List

Select the main programming language for your project: Lang

The last step is to double check the build commands. You will see a list of common build and test commands based on the language you choose. If they look correct for your project, hit "Save" and you're done.
Script

These build commands can be anything you enter on the command line. Once you are done making changes, hit "Save."

Build your Project

To manually trigger a build, click the Build Now button: Build Now

Your build's console output is streamed real-time to the browser. You can use this output to troubleshoot your build when you have compiler issues or test failures.

Finished

Congrats! Your project is setup, and a build hook was automatically added to your Github or Bitbucket repository. Any new changes to your source code will trigger a build.

Extra Credit

Add a build status image to your project’s website or repository's README.md file to show off your awesome coding skills! Status Badge

Next Steps

Now that your project is setup, explore more of the great features Drone has to offer: