lcl.host
For Teams

lcl.host for Teams

Teams is a free-to-use feature that lets you create an Anchor Organization and setup your project with local HTTPS for all your collaborators. The entire team can enjoy local HTTPS in a seamless and consistent way.

Teams includes the following benefits:

  • Org-wide Setup: Set up HTTPS in your local environment and have it work across your organization, seamlessly.
  • GitHub Integration: Import your GitHub organization, and let the setup propagate to your entire team.
  • Streamlined Setup Guide: We’ve revamped the setup guide, making it easier than ever to get going.

Overview

First, you need to do the initial setup:

  1. Create your organization
  2. Setup your project
  3. Invite your collaborators

Then, collaborators need to join:

  1. Accept the invite
  2. Run anchor lcl from their own dev environment.

Initial Setup

If you are joining an existing team as a collaborator skip forward to the collaborators section.

Create your org

From the Anchor Dashboard (opens in a new tab) enter a name for your Organization and click the Create Organization button or the Import GitHub Organization button.

Setup your project

In the terminal of your choice go to the root of your project. Then run:

brew upgrade anchor
anchor lcl

The first prompt will ask you to select your Org. Choose the Org you just created.

Anser the remaining prompts, the defaults are typically the best choice. Once done, your browser will be open the Setup Guide.

Follow the simple instructions on the setup guide.

Commit the changes

Commit your updated package manager files and add the anchor.toml file. This Anchor-specific configuration file makes automation possible and will be used for more powerful features in the future.

git add .  
git commit -m "setting up lcl.host"

Invite your collaborators

Back in the Anchor Dashboard (opens in a new tab) click on the Organization name you just created, then click the Manage button. Then invite your collaborators.

At this point your work is done, your collaborators follow the next section

Collaborators

If you are a collaborator joining an existing Organization, follow these steps.

Accept the invite

And invitation to join the Organization was set to you via email. Click the link in the email to join.

Run anchor lcl

Navigate to the root of the project in your own development environment. Then run:

anchor lcl

If you are a collaborator be sure you are running the same code that was checked in above.