First Blog Setup

These are notes for the initial setup of blog

  1. Create a new private repository in Github either
    • via UI in Github website
    • via Github CLI
      • gh repo create {{ username }}/{{ repo }} --private --source=. --remote=origin
  2. While inside the folder of your choice (current or new one), initialize git
    • git init
  3. Add some files to commit or maybe just 1 index.html at root directory containing basic boilerplate
  4. Link the previously created remote repo as the source to your local repo
    • git remote add origin git@{{ SSH host alias in SSH Config }}:{{ username }}/{{ repo }}.git
  5. Commit changes
    • git add -A && git commit -m "Initial commit" && git push -u origin master
  6. Create Cloudflare account & login
  7. Add Cloudflare pages (not Cloudflare workers)
  8. Select the correct repo
  9. Deploy
  10. Page is live