Source for my homesite.
- Windows 10 with WSL2 (Ubuntu 20.04 LTS)
- VS Code
- 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 rungatsby 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
)
- 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.