Skip to main content

Exporting Iguana 6 code to a Repository

This is a guide on how to export your channels to a Git repository with Iguana 6 if you have not done it before or need a refresher! We focus on Bitbucket, but many of the concepts will apply if you are using Github or another git hosting provider.

STEP 1: It's helpful to have a Git service account - you get a free one with bitbucket

For Bitbucket - go to https://www.bitbucket.com/, click on Get it free and follow the steps to get a free account.

STEP 2: From your new Workspace, create an empty repository

  1. First create a Workspace, name it anything you like.

  1. Create the repository:

  • The repository Access Level can be public or private.

  • You must name the Default branch name: master - Iguana 6 looks for this specific branch name.

  • Then click Create Repository

STEP 3: In Iguana 6, go to Settings → Add and Configure Repositories

In Iguana 6, click New Repository. You'll see a screen like this:

STEP 4: Fill it out with the details of your repository

  1. Copy the https:// URL from your created Bitbucket repository:

  1. In Iguana 6, enter any name for the Repository and paste the https:// URL for your repository.

  1. Click Save Repository. It should look like this:

STEP 5: Create an App Password in Bitbucket

  1. Navigate to Personal Bitbucket Settings:

  1. Take note of your Username and navigate to App Passwords:

  1. Click Create app password. Edit the permissions to look like this:

  1. Click Create andcopy the App Password(save it somewhere for STEP 7)

STEP 6: In Iguana 6, go to your channel and click export

  1. Click the channel name:

  1. Export the channel:

  • Select which channels you want to export. Don't forget to include sample data.

  • Make sure you are exporting to the correct repository and click Export selected channels.

STEP 7: Use your Username and App Password to authenticate with bitbucket.

  1. Enter a commit message, click Ok.

  2. Enter your Bitbucket Username and App Password that were created in STEP 5:

  1. Click Continue and you should be met with this message: