GoCard Own Domain Deployment Kit

Welcome to the GoCard Own Domain Deployment Kit! This guide will help you deploy the GoCard package on your Linux server, enabling you to run all the cards within your account under your own domain.

Note: To manage your account (e.g., add new cards, update settings, etc.), you will still need to log in via GoCard.my.

 

Prerequisites

 

Step 1: Download the Deployment Kit

  1. Visit GoCard.my/p/domain-deployment-kit
  2. Download the latest GoCard Deployment Kit ZIP file to your computer.

 

Step 2: Upload the ZIP File to Your Server

  1. Use an FTP client (e.g., FileZilla) or SSH to upload the ZIP file to your server.
  2. Extract the ZIP file into your desired directory (e.g., /var/www/html/public_html).

 

Step 3: Configure the Environment File

  1. Locate the provided .env-config file in the extracted folder.
  2. Rename this file to .env.
  3. Open the .env file in a text editor and set the following:
    • User ID:
      Find the variable User ID (User Account > Profile)  and set it to your GoCard User ID.
      Example: USER_ID=your_user_id_here 
    • Deployment URL:
      Find the variable APP_URL and set it to your custom domain URL.
      Example: APP_URL=https://yourdomain.com 

 

Step 4: Complete the Deployment

  1. Save the .env file and ensure it’s in the root of your GoCard installation directory.
  2. From your server’s terminal, navigate to the directory where the package is installed and run the following command:
  3. php artisan migrate 

 

Step 5: Access Your Cards

Now, your cards are accessible on your domain! For example, if your domain is https://yourdomain.com, you can view and interact with your cards directly there.

 

 

Important Notes

 

For further assistance, visit our support page at GoCard.my/support.

 

Enjoy the power of GoCard on your own domain! 🚀