drie

drie documentation

Welcome to the drie documentation. You'll find comprehensive guides and documentation to help you start working with drie as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Support

Try a Go app on drie

Quickstart on how to run a Go app on the drie platform.

Let's try out a Go app on drie using our starter app and GitHub!

You have drie installed

This guide assumes you have access to an instance of drie. If you need more information on how to get started - get in touch: support@drie.co.

1. Get the Go drie starter app

We will use drie's Go starter app. Go to:
https://github.com/drie-demo-1/drie-golang-starter-app

2. Create a new branch

Create a new branch for yourself by clicking the "Branch: master" drop-down button and typing in your new branch name. In this example, the branch name is: my-new-feature

3. Edit `main.go` and commit the change

Open main.go and edit line 27, which looks like following:

message := Message{"Hello Golang Drie!"}

Now change it to look like this:

message := Message{"hello, world!"}

4. Confirm that your commit triggered a build

Navigate to https://github.com/drie-demo-1/drie-golang-starter-app/commits/my-new-feature.

You should see some coloured indicators showing that your commit is building. This Go build takes a short while, so the yellow indicator or green check mark might take about a minute to appear. Click on the coloured indicator when it appears.

5. Verify that your change was deployed

You should land on the drie dashboard and see the current build status.

If you clicked on the indicator when it was a yellow circle, you'll probably have to refresh your browser a few times to see when your build finishes.

If you clicked on the indicator when it was a green check mark, it means the build finished and you'll see the status of the build.

When it's done, click on the "Your app is hosted on" link as shown below and you will see the change you committed deployed on drie!

Command Line Method

For those who would rather work on the command line, here are the commands:

# 1. Get the Go drie starter app
$ git clone git@github.com:drie-demo-1/drie-golang-starter-app.git
$ cd drie-golang-starter-app

# 2. Create a new branch called "my-new-feature"
$ git checkout -b my-new-feature

# 3. Edit index.js and commit the change
$ vim main.go
$ git commit -am "Change hello message"
$ git push origin my-new-feature

# The rest you have to do on your web browser

Try a Go app on drie

Quickstart on how to run a Go app on the drie platform.