Installation
Step-by-step installation guide for setting up the project locally.
System Requirements
Ensure you have the following installed:
| Tool | Minimum Version |
|---|---|
| Node.js | 18.x |
| npm | 9.x |
| Git | 2.x |
Cloning the Repository
git clone https://github.com/your-username/your-repo.git
cd your-repo
Installing Dependencies
npm install
Running the Development Server
npm run dev
The site will be available at http://localhost:4321.
Building for Production
npm run build
The built output will be in the dist/ directory.
Deploying to Cloudflare Pages
Connect your GitHub repository to Cloudflare Pages:
- Go to Cloudflare Pages
- Click Create a project → Connect to Git
- Select your repository
- Set build command:
npm run build - Set output directory:
dist - Click Save and Deploy
Cloudflare will automatically redeploy on every push to your main branch.