Page MenuHomePhabricator

[build-xec-apps][p1] Initial Commit
AbandonedPublic

Authored by bytesofman on Dec 20 2022, 19:00.

Details

Reviewers
kieran709
Group Reviewers
Restricted Project
Summary

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:

  1. run gatsby new
  2. entered a project name on prompt
  3. 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)
  4. selected Javascript on prompt
  5. selected no i will add it later for CMS prompt
  6. selected styled-components for other plugins prompt
  7. selected Y to complete process
  8. sourced a boiler plate gatsby .gitignore (found here) as the one included in the initial gatsby template was too sparse.
  9. created a new sub directory, bitcoin-abc/web/build-xec-apps
  10. added sourced .gitignore to the repo
  11. copied content from the generated gatsby site into web/build-xec-apps, excluding the following:.gitignore, .git, .cache, node_modules and public
  12. in the monorepo: cd web/build-xec-apps && npm i
  13. run gatsby develop
Test Plan

cd web/build-xec-apps
gatsby develop

observe that the dev environment spins up

Diff Detail

Repository
rABC Bitcoin ABC
Branch
build-xec-apps
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21650
Build 42940: Build Diff
Build 42939: arc lint + arc unit

Event Timeline

Please be more specific about where this starter template came from. Looks like this code was generated. What steps did you take to generate the code?

This revision now requires changes to proceed.Dec 20 2022, 23:34

Updated Summary per review feedback.

general notes found in testing

  1. gatsby needs node v18 to work, so need to run nvm install 18 before running
  2. npm i -g gatsby
  3. npm i
  4. Then gatsby develop
This revision is now accepted and ready to land.Jan 3 2023, 18:33
bytesofman edited reviewers, added: kieran709; removed: bytesofman.
This revision now requires review to proceed.Jan 23 2023, 22:41

Diff is a good proof of concept. Not high priority with current resourcing.