Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.66 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.66 KB

gknoop.com

Source for my homesite.

Stack

Dev Environment

  • Windows 10 with WSL2 (Ubuntu 20.04 LTS)
  • VS Code

Instructions for Replicating

  • Install nvm and node
  • Install Git
  • Globally install GatsbyJS (i.e. npm i -g gatsbyjs)
  • Create a new project with gatsby new [project name] https://github.com/Vagr9K/gatsby-advanced-starter
  • cd into the project folder and run gatsby develop to generate a live reloading page at localhost:8000
  • Edit static/admin/config.yml to use your credentials (after which you can access [website url]/admin) - source
  • Install Bootstrap in your project (i.e. npm i bootstrap)

Troubleshooting

  • It is very likely you will receive a notice that there are unresolved dependencies. For security purposes, it is not possible to automatically install all dependencies in npm. You must resolve them manually with npm i [space-separated list of package names]
  • If you receive a warning about any high-risk vulnerabilities, you can likely ignore this. The offending files are likely dependencies of the Bootstrap package, which shouldn't be included in the static assets generated after running gatsby build. YMMV.