Introduction

Courier is a development tool that allows you to write code locally and view the results instantly. Once you're satisfied with your work, you can push it to your Blutui project for review. Courier is designed to offer the best of both worlds by integrating local workflow with the cloud, thereby making development faster, more enjoyable, and more creative. This guide walks you through the process of installing and setting up Courier on a Windows machine.

Prerequisites

  • Scoop package manager installed
  • Administrative access for local server setup and cloud connectivity

Installation

1

Add the Courier Scoop Bucket

Firstly, open your Command Prompt (CMD) or PowerShell and run the following command:

scoop bucket add blutui <https://github.com/blutui/bucket-courier.git>
2

Install Courier via Scoop

Secondly, continue in the same window with:

scoop install blutui/courier
3

Set up required services

After your first installation of Courier, it's time to set up the required services. Run:

courier install

You may be prompted to enter your administrative password.

4

Verify the installation

Lastly, to ensure that Courier has been installed correctly, run:

courier

This will display a list of available commands, confirming Courier is now successfully installed.

Authentication

1

Generate a Courier token

  1. Navigate to your Agency Console and click on your avatar in the top-right corner.
  2. Choose "Edit my profile."
  3. Go to the "Apps" section from the sidebar.
  4. Click the "Create token" button on the right-hand side.
  5. Name your token (e.g., "Work Laptop") and click "Create"

Remember, the token will expire in one year, so plan to renew it accordingly.

2

Login to Courier

Copy the token and run the following command in your CMD or PowerShell:

courier login [your-courier-token]

You've successfully installed and set up Courier on a Windows machine! Feel free to start coding and enjoy a more streamlined development process.

More resources

How do I pull a project onto my machine?

Learn how to pull your project from Blutui onto your machine for development.

How do I preview a project onto my machine?

Learn how to preview your project on your machine while in development.

How do I push a project to Blutui?

Learn how to push your project code from your machine to Blutui.

Was this helpful?