Personal website for Michel Racic: Software Engineer, Automation Specialist, Always up to hack for fun.
Built with Astro and deployed to GitHub Pages.
- Blog — Technical articles, how-tos, and project write-ups
- Projects — IoT, hardware, LoRaWAN, and hackathon projects
- Wiki — Quick references, dev notes, and useful commands (semantic wiki)
- Bookmarks — Curated link collections and resources
Articles use giscus (powered by GitHub Discussions) for comments. To enable:
- Enable the giscus GitHub App on your repository
- Get your
repo-idandcategory-idfrom https://giscus.app - Update the values in
src/components/Comments.astro
npm install
npm run dev # Start dev server at localhost:4321
npm run build # Build for production
npm run preview # Preview the production build# Requires Node 22+
export PATH="/tmp/node-v22.16.0-linux-x64/bin:$PATH"
# Build first (required for e2e tests)
npm run build
# Run unit tests only
npx jest
# Run e2e tests only
npx playwright test
# Run all tests
npx jest --silent && npx playwright test
# View HTML test report
npx playwright show-report test-results/html- Unit tests (
tests/unit/) — content schemas, site config, utility functions - E2E tests (
tests/e2e/) — page rendering, navigation, links, search, features
Push to main — GitHub Actions will build and deploy automatically.
The firebase.json is included and pre-configured to serve from dist/, but the project is not linked to any Firebase project. To deploy to Firebase:
-
Install Firebase CLI:
npm install -g firebase-tools
-
Log in and initialize the project:
firebase login firebase init
Select your Firebase project when prompted. This generates a
.firebasercfile linking the project. -
Build and deploy:
npm run build firebase deploy
To automate Firebase deploys on push:
- Generate a deploy token:
firebase login:ci
- Add the token as a GitHub repository secret named
FIREBASE_DEPLOY_TOKEN - Add a deploy step to
.github/workflows/deploy.yml:- name: Deploy to Firebase run: firebase deploy --token ${{ secrets.FIREBASE_DEPLOY_TOKEN }}