This is New Berlin Troop 53's Public Web Site. It uses GatsbyJS for the build system and TailwindCSS for styling.
Install Gatsby CLI:
npm i --global gatsby-cli
Clone the repository locally and install node.js
Then run:
npm install
npm run build
Output should be in a directory called public
.
To test the site locally run:
npm run develop
Enter this URL in browser: http://localhost:8000
npm run analyze
- See what ESLint and Prettier can fixnpm run fix
- Run Prettier and ESLint with the--fix
option
Use npm run build
to build your site for production.
If there are unexpected problems with the build, it could be due to the Gatsby Cache. Use 'npm run clean' to remove the cache and public folder.