项目作者: couetilc

项目描述 :
code for equinelungexperts.com
高级语言: JavaScript
项目地址: git://github.com/couetilc/equine-lung-experts.git
创建时间: 2018-08-10T18:29:46Z
项目社区:https://github.com/couetilc/equine-lung-experts

开源协议:

下载


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. # 1. Push your updates to `master` branch at https://github.com/couetilc/equine-lung-experts
  2. git push origin master
  3. # 2. Create and publish a new release from the `master` branch.
  4. 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?)