Skip to content

Source code of my personal website based on Astro and the AstroPaper template

License

Notifications You must be signed in to change notification settings

NathanHoekstra/nathanhoekstra.nl

Repository files navigation

nathanhoekstra.nl

Source code of my personal website based on Astro and the AstroPaper template

Google Site Verification (optional)

You can easily add your Google Site Verification HTML tag in AstroPaper using environment variable. This step is optional. If you don't add the following env variable, the google-site-verification tag won't appear in the html <head> section.

# in your environment variable file (.env)
PUBLIC_GOOGLE_SITE_VERIFICATION=your-google-site-verification-value

🧞 Commands

All commands are run from the root of the project, from a terminal:

Note! For Docker commands we must have it installed in your machine.

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run format:check Check code format with Prettier
npm run format Format codes with Prettier
npm run sync Generates TypeScript types for all Astro modules. Learn more.
npm run cz Commit code changes with commitizen
npm run lint Lint with ESLint
docker compose up -d Run AstroPaper on docker, You can access with the same hostname and port informed on dev command.
docker compose run app npm install You can run any command above into the docker container.

Warning! Windows PowerShell users may need to install the concurrently package if they want to run diagnostics during development (astro check --watch & astro dev). For more info, see this issue.

📜 License

Licensed under the MIT License, Copyright © 2023


Made with 🤍 by Sat Naing 👨🏻‍💻 and contributors.

About

Source code of my personal website based on Astro and the AstroPaper template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published