Overview

This document will guide you through setting up your development environment for building on Linera. You can proceed either by installing Linera locally on your machine (refer to the documentation here on how to do so) or installing Linera on a cloud environment such as Gitpod or Codespaces.

Since installing Linera can be a computationally intensive task for less powerful computers coupled with the fact that it is currently untested for Windows devices; if your device falls under one of these categories, we would strongly recommend using a cloud environment. This guide is primarily focused on providing you with a walkthrough on how to set up set up a cloud environment on Gitpod and configure it for developing on Linera.

If you have any questions along the way, feel free to head to our Discord channel, look for the linera-helpdesk forum channel and search for the Quest 1 - Logging & Testing in Linera (10-26 May) post.

Let’s start! As mentioned, we’ll be using Gitpod as our cloud environment. Firstly, make sure that you have Visual Studio Code (VS Code) installed on your device.

Untitled

Then, open up your VS Code, open the Extensions tab and search for Gitpod; download the first option.

Untitled

Next, search for the Remote - SSH extension and download it.

Once you’ve done that, leave VS Code and head to Github and make sure that you’ve logged in to your account.

❗ Then, head to the URL below to join Linera’s Gitpod workspace. Note that this organization is DIFFERENT from the one used in the first Linera campaign, so you’ll need to make sure that you’re NOT using the same Linera Gitpod Organization that you used in the first campaign.

Untitled