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
- A Linux server with PHP 8 or above installed.
- A valid hosting plan and domain name.
(Hosting and domain are not included in the kit.)
Step 1: Download the Deployment Kit
- Visit GoCard.my/p/domain-deployment-kit
- Download the latest GoCard Deployment Kit ZIP file to your computer.
Step 2: Upload the ZIP File to Your Server
- Use an FTP client (e.g., FileZilla) or SSH to upload the ZIP file to your server.
- Extract the ZIP file into your desired directory (e.g., /var/www/html/public_html).
Step 3: Configure the Environment File
- Locate the provided .env-config file in the extracted folder.
- Rename this file to .env.
- 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
- Save the .env file and ensure it’s in the root of your GoCard installation directory.
- From your server’s terminal, navigate to the directory where the package is installed and run the following command:
- 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
- Account Management: To manage your account (e.g., add cards, update settings, etc.), log in as usual via GoCard.my.
- Ensure your server supports PHP 8 or above.
- Hosting and domain setup is your responsibility.
For further assistance, visit our support page at GoCard.my/support.
Enjoy the power of GoCard on your own domain! 🚀