A website for a Moto Blogger

A website for a Moto Blogger

February 23, 2025

Moto Blogger Setup

My friend wanted to have the following Astro theme:

The theme - https://github.com/Boston343/horizon

Original (and fantastic) job was done by https://github.com/Boston343/horizon and released under GPL3.0

There was a Windows setup in between, so…

…the setup took just a little bit more clicks than in linux:

  1. Install node and npm (nodejs.org and docs.npmjs.org)
  2. Install git and vscode
  3. Install firebase CLI - in windows that means pasting the .exe to the repo folder and adding it as gitignore
  4. Install npm firebase package
  5. Do the one time Firebase Project setup: .\firebase init

Why firebase and not cloudflare?

Just using Google account was enough after accepting firebase T&C’s.

And…thats all the one time things required.

In a nutshell, from now on, just these 3 commands are enough:

npm run dev #to see locally the changes
npm run build #to render the site to /dist
firebase deploy #to push dist to proyectorutasmoto.web.app

There you go: https://proyectorutasmoto.web.app/

Next steps - To link a custom domain and to not forget to sync it to github for a free code backup!