Docker
Prerequisites
- Integration apps configured
- Backend and Frontend environment variables set up
Deployment
Step 1: Setting Up Your GitHub Access Token for Cloning
1.1. Obtain Your Cloning Access Token
- Reach out to the Duckie team for your
cloning_access_token
- You can contact us at founders@duckie.ai
1.2. Set Up the Token on Your Machine
Once you have received your cloning_access_token
, follow these steps to set it up:
-
Enter the following command, replacing
your_cloning_access_token_here
with the actual token you received: -
To verify that the token has been set correctly, you can echo the variable: This should display your token.
Step 2: Configuring the Environment Variables
To configure your application correctly, you need to set up environment variables using a .env
file. Follow these steps to create and populate your .env
file on your machine.
- Navigate to the root directory for the Duckie application deployment
- Create two new files named
.backend.env
and.frontend.env
- Paste the contents of the configuration files from the Frontend and Backend sections into your
.frontend.env
and.backend.env
files
Step 3: Deploying the Duckie Application
3.1. Running the Deployment Script
-
Copy and paste the following command into your terminal:
-
Press Enter to run the command
-
It will take ~2 minutes for Duckie to start
3.2. Upgrading the Duckie Application
-
Copy and paste the following command into your terminal:
-
Press Enter to run the command
-
It will take ~2 minutes for Duckie to start
Step 4: Accessing the Duckie Application
- Open your web browser and navigate to the Frontend URL you set up in the
.frontend.env
file - You should see the Duckie application interface
To learn more about using Duckie, you can visit the Using Duckie page.