Source for www.frankshowalter.com. Built with Astro.
-
Install nvm.
-
Initialize your Node env.
An .nvmrc is included in the project.
# use the .nvmrc version of Node. nvm use -
Install dependencies.
NPM has come a long way and we don't need workspaces (yet)
npm i
-
Start a Dev server.
# start Astro dev. npm run dev -
Open the source code and start editing!
The site is now running at
http://localhost:4321.
A quick look at the non-standard directories included in the project.
.
├── content
├── src/assets
└── src/features
-
/content: The latest updates from franksmovielog.com and franksbooklog.com, pulled via/scripts/updateData.ts. -
/src/assets/: Wrappers for theastro:assetsAPIs. -
/src/features: Feature implementations.src/pagesis used for routing, so extracting the page implementations to a separate folder allows for co-locating sub-components and supporting utilities.
Push to Github and Actions builds the project and POST's to Netlify.