Related to T2264. This is the basic template for a gatsby project, the purpose of this project is to host web dev onboarding tools and resources, starting with a chronik demo app.
The Gatsby template was generated with the following method:
- run gatsby new
- entered a project name on prompt
- selected the parent dir for the project (doesn't matter where it is saved because the files are copied into the monorepo in a later step)
- selected Javascript on prompt
- selected no i will add it later for CMS prompt
- selected styled-components for other plugins prompt
- selected Y to complete process
- sourced a boiler plate gatsby .gitignore (found here) as the one included in the initial gatsby template was too sparse.
- created a new sub directory, bitcoin-abc/web/build-xec-apps
- added sourced .gitignore to the repo
- copied content from the generated gatsby site into web/build-xec-apps, excluding the following:.gitignore, .git, .cache, node_modules and public
- in the monorepo: cd web/build-xec-apps && npm i
- run gatsby develop