Cloudflare Pages
Deploying your EasyPageGO-generated website to Cloudflare Pages is a straightforward process. Follow the steps below to get your site live.
Prerequisites
Download the Website Folder
Before starting, ensure you have the folder containing your website files downloaded from EasyPageGO. This folder is ready to be deployed as-is to Cloudflare Pages.
Create the Pages Project
- Log in to Cloudflare: Go to the Cloudflare dashboard and log in to your account.
- Navigate to Pages: In the Cloudflare dashboard, select Pages from the menu on the left side.
- Create a New Project: Click the "Create a Project" button.
Deploying via Folder Upload
- Access Your Project: In the Cloudflare Pages dashboard, select your project.
- Deployments: Click on the "Deployments" tab.
- Drag and Drop: Use the drag-and-drop area or the upload button to upload the folder you downloaded from EasyPageGO.
- Start Deployment: Cloudflare Pages will automatically start the deployment process once the folder is uploaded.
Deploying with Wrangler CLI
The Wrangler CLI is a tool provided by Cloudflare for managing and deploying Cloudflare Pages projects from the command line.
Install and Setup Wrangler CLI
Install Wrangler: Open your terminal and install Wrangler using npm:
Authenticate: Run the following command to authenticate Wrangler with your Cloudflare account:
Execute CLI Command to Deploy
Navigate to Your Project Folder: Open your terminal and change to the directory containing your EasyPageGO website files.
Deploy Using Wrangler: Use the following command to deploy your project:
Replace cloudflare-pages-project-name
with the name of your Cloudflare Pages project.
Monitor Deployment: Wrangler will output deployment progress in the terminal. You can also check the deployment status and your live site in the Cloudflare Pages dashboard.