My website!
This is just the code behind it. You can check it out at fireis.dev to see what this actually is. I'm not sure why you would want to look here, but I hope you find what you seek!
Project structure:
public/
├── fonts/
└── rss/
src/
├── components/
├── content/
│ └── blog/
├── images/
├── layouts/
├── pages/
│ ├── blog/
│ └── tools/
└── styles/
This site is created with Astro with many styles from Pico CSS. I am currently hosting it through GitHub Pages via an Action.
I mean like, if you really want to...
Read the Astro quick start guide's prerequisite list.
This project uses pnpm, though you can use npm if you wish. You can check that pnpm/npm is installed in the terminal by running:
# Using pnpm
pnpm -v
# Using npm
npm -v
First, fork the repo.
Once the prerequisites are installed and you are working off the fork, clone the repository to your local machine.
This can be done from the command line:
git clone git@github.com:FireIsGood/fireis.dev.git ./fireiswebsite
You can run the development server through the terminal.
From the command line:
# Default port 1625
pnpm dev
When Astro is done setting up, you should see a success message.
┃ Local http://localhost:1625/
┃ Network use --host to expose
There are additional commands you can run from the terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm start |
Starts local dev server at localhost:1625 |
pnpm dev |
Starts local dev server at localhost:1625 and open it |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add , astro check |
pnpm astro -- --help |
Get help using the Astro CLI |
Feel free to add Issues if you see anything wrong.
This is my personal blog, so I will not accept pull requests.