Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.64 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.64 KB

template-astro

Opinionated Astro template for new projects.

Getting Started

  1. Go to or create the project folder.
  2. Get the template files:
npx giget github:joaopalmeiro/template-astro . --force
  1. Search for template-astro and replace it with the project name. Ignore the template repository URL in the NOTES.md file.
  2. Search for Opinionated Astro template for new projects./Opinionated [Astro](https://astro.build/) template for new projects. and replace it with the (short) project description.
  3. Search for João Palmeiro and replace it with the author's name.
  4. Search for joaopalmeiro@proton.me and replace it with the author's email address.
  5. Change the author.url field in the package.json file to the author's website/social media profile.
  6. Install fnm (if necessary).
  7. Run the first two commands in the Development section to install Node.js and the development dependencies.
  8. Open the NOTES.md file and install the project-specific dependencies according to the first command in the Commands section.
  9. Remove minimal-demo/ from the .gitignore file.
  10. Delete the TEMPLATE.md file.
  11. Delete the Getting Started section.

Development

Install fnm (if necessary).

fnm install && fnm use && node --version && npm --version
npm install
npm run dev
npm run lint
npm run format

Deployment

npm run build