Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 1.4 KB

README.md

File metadata and controls

55 lines (31 loc) · 1.4 KB

Astro Starter

This is a starter example for Astro, deployed with Begin.

Deploy your own

Deploy to Begin

Deploy your own clone of this app to Begin!

Getting started

Project setup

Using Node.js v14.x (AWS Lambda default) and npm 7

npm install

Start the local Astro dev server

npm run dev

Navigate to localhost:3000. You should see your app running.

You can also test out the built version locally by building your Astro site with:

npm run build # an alias for astro build

Then run the Architect Sandbox with

npm run start

Navigate to localhost:3333 to see how Sandbox serves static assets from the ./dist directory.

Deploy to Begin

When your main branch on GitHub is updated, Begin will build your Astro site and deploy the static assets directly.

Begin Reference

  • Quickstart - basics on working locally, project structure, deploying, and accessing your Begin app
  • Creating new routes - basics on expanding the capabilities of your app

Head to docs.begin.com to learn more!