Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Created May 26, 2025 16:25
Show Gist options
  • Select an option

  • Save wilmoore/2726a86c64b7a4d70f71ab99c0cf0646 to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/2726a86c64b7a4d70f71ab99c0cf0646 to your computer and use it in GitHub Desktop.
Personal Brand :: Website :: wilmoore.com :: Setup

Personal Brand :: Website :: wilmoore.com :: Setup

⪼ Made with 💜 by Polyglot.

Setup

commands
❯ mkdir wilmoore.com
❯ cd wilmoore.com
❯ yarn init -y
❯ mkdir src
❯ echo 'coming soon' > src/index.html
❯ echo -e '*\n*/\n!.gitignore' > out/.gitignore
❯ curl https://gist.githubusercontent.com/wilmoore/63e3106384d112e73f883b89ee41fad4/raw/c028a031ca0834f67e0c86bf0deba3197ddc3836/out.makefile > makefile
❯ make
❯ git init
❯ git add .
❯ git commit -m 'from out.makefile'
❯ curl -u wilmoore:$PERSONAL_ACCESS_TOKEN -d '{"name":"wilmoore.com"}' https://api.github.com/user/repos
❯ git remote add origin [email protected]:wilmoore/wilmoore.com.git
❯ git push -u origin master
❯ npx netlify-cli init

? Your build command (hugo build/yarn run build/etc): make
? Directory to deploy (blank for current dir): out
? Netlify functions folder: functions
? No netlify.toml detected. Would you like to create one with these build settings? Yes
Adding deploy key to repository...
Deploy key added!

Creating Netlify Github Notification Hooks...
Netlify Notification Hooks configured!

Success! Netlify CI/CD Configured!

This site is now configured to automatically deploy from github branches & pull requests

Next steps:

  git push       Push to your git repository to trigger new site builds
  netlify open   Open the Netlify admin URL of your site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment