- Staging URL: https://staging--cookiewolf.netlify.app
- Production URL: https://cookiewolf.coop
- make sure you are using the correct node version with
nvm use - install with
npm install
npm run devto start a dev server on http://localhost:5173npm run buildgenerate a production build indist/
We recommend integrating elm-format@0.8.3 into your code editor, but if you don't...
- Please run
npm run format srcto format.elmfiles insrcbefore committing code.
We're using elm-test-rs to run elm tests
- run tests with
npm test
elm.jsonfor elm packages used for siteelm-tooling.jsonfor elm packages used for codepackage.jsonfor node scripts and packagespackage-lock.jsonfor current versions of node packages.nvmrccontains project node versionvite.config.jsfor build config.netlify.tomlfor deploy configtests/*contains test filessrc/*contains app source files
- UI text and meta text values are stored in
Copy.Textand can render as html from markdown - Case Study text is in
Copy.CaseStudyand must contain values for the required fields - About Us profile text is in
Copy.AboutUs - Page templates for each
Routeare defined in e.g.Page.IndexandPage.CaseStudy
- TBC
Deploys to Netlify
- code is tested and linted automatically before deploy
- when code is merged to
stagingit is deployed on staging - when a pull request is created against
main, a preview site is deployed - when a pull request is merged into
main, the production site is deployed
- add effort & value labels (if you know enough about it)
- put the issue in a milestone (if it is part of a current epic)
- assign it to yourself before starting work
- make a branch that includes the issue type (fix/feat/chore etc & number)
- make sure you understand the acceptance criteria
- ask questions & make plan
- check the acceptance criteria have been met
- add comments & questions
- once approved, leave for the author to squash and merge