Install dependencies
Install all required dependencies using your preferred package manager. This project uses pnpm as the primary package manager:
The project is optimized for pnpm, but npm and yarn will also work. Dependencies include Astro v5.16+, Tailwind CSS v4.1+, and Cloudflare adapter.
Configure environment variables
Copy the example environment file and add your configuration:Update the
.env file with your API keys:.env
The environment variables are optional for local development. The site will run without them, but newsletter subscription and analytics features won’t work.
Start the development server
Launch the local development server:Your portfolio will be available at http://localhost:4321 🎉The dev server features:
- Hot module replacement (HMR)
- Fast refresh on file changes
- TypeScript type checking
- Tailwind CSS live updates
What’s Next?
Installation Guide
Learn about detailed installation, prerequisites, and project structure
Customization
Customize your portfolio with your own content, styling, and components
Configuration
Configure site settings, environment variables, and integrations
Deployment
Deploy your portfolio to Cloudflare Pages or other platforms
Available Commands
Once installed, you have access to these commands:| Command | Action |
|---|---|
pnpm dev | Starts local dev server at localhost:4321 |
pnpm build | Build your production site to ./dist/ |
pnpm preview | Preview your build locally, before deploying |
pnpm astro ... | Run CLI commands like astro add, astro check |
pnpm astro -- --help | Get help using the Astro CLI |
Run
pnpm build before deploying to production to ensure all static assets are generated correctly.