Quick Start
Clone the Juju Alpha site as a starting point for any new client project.
1. Clone and rename
Section titled “1. Clone and rename”git clone https://github.com/ctrl07/juju-alpha <client-name>cd <client-name>npm install2. Find and replace core identifiers
Section titled “2. Find and replace core identifiers”Run a global find-and-replace across the whole project:
| Find | Replace with |
|---|---|
jujualpha.in |
<client-domain> |
Juju Alpha |
<Client Name> |
juju-alpha |
<project-slug> |
3. Update brand colors
Section titled “3. Update brand colors”Open src/styles/global.css. Replace the --color-brand-* values in the @theme block with the client’s brand color.
Use uicolors.app to generate a full 50-950 scale from a single hex value.
4. Update astro.config.mjs
Section titled “4. Update astro.config.mjs”site: "https://<client-domain>",5. Update the schema in src/layouts/Layout.astro
Section titled “5. Update the schema in src/layouts/Layout.astro”Replace these fields with the client’s real info:
name- business nametelephone,emailaddress- full postal addressgeo- latitude/longitude (get from Google Maps)sameAs- social profile URLsaggregateRating- real numbers from client, or remove the block
6. Update public/robots.txt
Section titled “6. Update public/robots.txt”Sitemap: https://<client-domain>/sitemap-index.xml7. Replace content
Section titled “7. Replace content”src/pages/index.astro- homepage copy, services, pricingsrc/pages/about.astro- team, storysrc/pages/contact.astro- address, phone, Web3Forms access key, Google Maps embed srcsrc/pages/services/- service descriptions and pricingpublic/favicon.svg- client logo/faviconpublic/og-image.jpg- 1200x630 social preview imagepublic/logo.svg- header logo
8. Set up Cloudflare Pages
Section titled “8. Set up Cloudflare Pages”- Push to a new GitHub repo
- Connect it in Cloudflare Pages -> Create application -> Connect to Git
- Build command:
npm run build, output:dist - Add custom domains:
client-domain.comANDwww.client-domain.com - Set environment variables if using Cashfree (see Environment variables)
9. Run locally
Section titled “9. Run locally”npm run dev # http://localhost:4321npm run build # production build to /distnpm run preview # preview the built output10. Post-deploy
Section titled “10. Post-deploy”npm run indexnow # submit all URLs to Bing/Yandex via IndexNowSubmit sitemap to Google Search Console manually.