Skip to content

Instantly share code, notes, and snippets.

@geocine
Last active December 22, 2019 01:52
Show Gist options
  • Save geocine/6f2b2461c08e9ea6a472c06a0ccacc7e to your computer and use it in GitHub Desktop.
Save geocine/6f2b2461c08e9ea6a472c06a0ccacc7e to your computer and use it in GitHub Desktop.
Setup Gatsby Github
Enter a file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter]
Enter passphrase (empty for no passphrase): [Type a passphrase]
Enter same passphrase again: [Type passphrase again]
git add .
git commit -m "initial commit"
git push -u origin master
node_modules
public
.DS_Store
.cache
npm i --save-dev del-cli
npm i
{
   ...
   "scripts": {
    "clean": "del -f \"../!(gatsby)*\" ",
    "build": "gatsby build && npm run clean && cp -a public/* ../ && rm -rf public"
    ...
  }
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment