Skip to content

couetilc/equine-lung-experts

Repository files navigation

Equine Lung Experts Website

This project powers equinelungexperts.com, using Next.js as a front-end framework.

Repository

The repository is hosted on Github at couetilc/equine-lung-experts. The release branch is master.

Infrastructure

The website files are stored on a AWS S3 Bucket "equinelungexperts.com" under the folder prefix "www" and are proxied by AWS Cloudfront.

Deployment

Steps to deploy:

# 1. Push your updates to `master` branch at https://github.com/couetilc/equine-lung-experts
git push origin master
# 2. Create and publish a new release from the `master` branch.
hub release create -t origin/master -m "YYYY-MM-DD" "YYYY-MM-DD"

Deployments are performed by a Github Action triggered by publishing a release. The naming convention for releases is the date "YYYY-MM-DD" of the release. Append a number to the release name if you are performing more than one release in a day.

Styling

Styling is added using global SASS stylesheets, stored in directory styles and imported in pages/_app.jsx (Click for Next.js Docs)

Analytics

Site analytics are collected by Plausible.io.

TODO

  • add workflow that takes screenshots of the website whenever a PR is made against master and posts those images as a comment in the PR.

TODO

  • How should I manage image assets? next/image? Need to optimize banner image
  • consider snapshot testing whole site to make CI/CD seamless by merging Github PRs from dependabot automatically if all tests pass. (or auto deploy to a staging website and then approve to deploy to production domain?)