My personal website. As of writing this, it features a blog, microblog (twitter clone) and miscellaneous info about me.
The site is based on the blog template provided by AstroJS. You can do so yourself by running the command below:
npm create astro@latest -- --template blog
All commands are run from the root of the project, from a terminal:
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 astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |
npm run format |
Ensure the code follows code style requirements |
npm run format:check |
Same as above but without writing any changes |
npm run check |
Check for any Astro/TypeScript errors |
Make sure to create a .env
file based on the env.example provided. If not set some parts of the website may fail.
The website's design is basically a copy-cat version of Xetera's website, as well as Jax Tam's. Let's just say creativity is not my top trait :)