First Blog Setup
These are notes for the initial setup of blog
-
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
-
-
While inside the folder of your choice (current or new one), initialize git
-
git init
-
-
Add some files to commit or maybe just 1
index.htmlat root directory containing basic boilerplate -
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
-
-
Commit changes
-
git add -A && git commit -m "Initial commit" && git push -u origin master
-
- Create Cloudflare account & login
- Add Cloudflare pages (not Cloudflare workers)
- Select the correct repo
- Deploy
- Page is live