{"repo":"SSWConsulting/SSW.Rules","free":true,"listed":false,"github":"https://github.com/SSWConsulting/SSW.Rules","clone":"git clone https://github.com/SSWConsulting/SSW.Rules.git","description":"Generator for ssw.com.au/rules","language":"TypeScript","stars":26,"topics":["jamstack","nextjs","tinacms"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"SSW.Rules This is a Next.js + TinaCMS website pulling data from: SSW Rules Content Repo 📜 Architecture Diagram Getting Started Required Tools - Node.js (version defined in .nvmrc) – recommended to use nvm - corepack (run corepack enable to manage correct pnpm version) - pnpm package manager - python F5 experience 1. Clone this repo 2. Clone SSW.Rules.Content 3. Place both repos in the same parent directory e.g. 4. Create a .env file based off .env.example in the root of this repo - get the values from Keeper (SSW.Rules Environment Variables) 5. Run pnpm install to install packages 6. Install pyyaml python package: py -3 -m pip install pyyaml 7. Run pnpm prepare:content to generate required mapping JSON files (they are gitignored) 8. Run pnpm dev to start the development server Syncing and Updating Content To test changes to MDX rules: 1. Go to your branch in SSW.Rules.Content 2. Modify the rule MDX as needed 3. If there are any changes to categories, re-run pnpm prepare:content 4. Run pnpm dev in this project to start SSW.Rules locally 5. Navigate to http://localhost:3000/rules/ to see your changes Note: pnpm dev does not track changes in SSW.Rules.Content, therefore, you will need to re-run the command after you make changes Branches - Always create a new branch for your PBIs - Always delete your branch once your PR has been merged - To create a new content branch (in SSW.Rules.Content ), follow the setup steps in the Wiki) Builds & Deployment Content Changes (SSW.Rules.Con","default_branch":null,"files":null,"tree":[],"storefront":"/r/SSWConsulting","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SSWConsulting/SSW.Rules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}