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
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>
Install Courier via Scoop
Secondly, continue in the same window with:
scoop install blutui/courier
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.
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
Generate a Courier token
- Navigate to your Agency Console and click on your avatar in the top-right corner.
- Choose "Edit my profile."
- Go to the "Apps" section from the sidebar.
- Click the "Create token" button on the right-hand side.
- Name your token (e.g., "Work Laptop") and click "Create"
Remember, the token will expire in one year, so plan to renew it accordingly.
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.