wildlifetrusts / nextdoornature

https://team-wilder-proto.pages.dev/
1 stars 1 forks source link

Nextdoor Nature

This is part of the Wildlife Trusts larger TeamWilder projects.

Netlify Status

Test deploy to Azure

Release https://nextdoornaturehub.org.uk

Current content editor

Development

Prerequisites

Formatting

We recommend integrating elm-format@0.8.6 and prettier into your code editor. A pre-commit hook is configured to take care of this if not.

Build

Test

We are using elm test. We don't have all the time in the world, so tests will be light. We aim to cover any exposed API in our modules and things with potential to fail and go unnoticed.

Linting

You can run elm-review on your code with npm run lint

We use rules provided by jfmengels/elm-review-config/application to improve code quality.

Rules live in review/src/ReviewConfig.elm and can be modified if needed.

Deployment

Editing content

Code and configs

What it's for

Project configuration

Content & Pages

Styling & layouts

Development workflow

Adding issues

Working on issue

Code review & merge

Bulk image resizing

There is no hard limit on image size that can be uploaded. We want to keep this reasonable to make loading time as fast as possible for end users. So to bulk resize all images greater than '2000x2000' run:

mogrify -resize '2000x2000>' ./public/images/uploads/*.jpg

License

Source code is released under the Hippocratic License.