profile pic

Precise Asteroid

Welcome to Amir's Blog 👋

Building a site with Flutter

2022-01-14

How and why I built a site with Flutter 🚀 :smile:

Setting up the site

  • Buy a custom domain with Namecheap
  • Add a Netlify site
  • Follow this link to buld flutter app
  • Build command: if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
  • Publish directory: build/web
  • Go to Netlify, Set netlify NDS, you will get a list of custom hostnames dns1.p0x.blha.net dns2.p0x.blha.net etc
  • @Namecheap set custom DNS placing all these custom hostnames
  • Wait 48 hours till the site is up and running :smile:

Made by Amir 💚