- sanity define Structured Content schema and it provides a admin page and database
- gatsbyjs A Static Website Generator that uses React / JAMStack
- React a javascript libary for building UI created by facebook and very popular
- snipcart A shopping cart provider for static sites (note I may move this across to shopify in the future to support afterpay)
- ramdajs A practical functional library for JavaScript programmers
- tailwindcss - still migrating too this, but is a utility-first CSS framework
- lerna - tool for managing monorepos with multiple packages
environment variables
- SANITY_READ_TOKEN required
- snipcart_api should build without but ecom shopping cart wont work
- GATSBY_SANITY_PROJECT_ID Defaults to "rwvwe1aj"
- GATSBY_SANITY_DATASET Defaults to "production"
You'll need node and npm installed, would be usefull to install gatsby-cli
once you've got environment setup then run
npm install
npm run dev
this will setup a local version of webpage at localhost:8000/ and adminpage at localhost:3333
assuming you've got dev environment setup and working run
npm run build-web
it will create production files in webpage/public
assuming you've got dev environment setup and working run
npm run build-admin
it will create production files in adminpage/dist
Would love to see Contributions already I owe a huge thank you to lukebennett88 twitter @luke_bennett_ who did the bulk of the migration to tailwindcss for styling and also did a lot of styling the site