hairbycourtneyfox.com

Build and publish

Using AWS Amplify to automatically build and publish the site.

  • Using git flow model, make changes in a branch or fork
  • When ready for a release, ush or merge to develop branch and AWS will build it to a test feature version of the site.
  • After functionally testing and things are looking good, merge to production branch for public version of the site which is also automatically built and published.
  • Push or merge to any other branch for no automation.

Usage

To get started, git clone this repo and run npm install.

Developer Quick Start

  • npm run build builds the project - this builds assets, HTML, JS, and CSS into dist
  • npm run clean deletes the dist directory to prepare for rebuilding the project
  • npm start or npm run start runs the project, launches a live preview in your default browser, and watches for changes made to files in src

Developer Advanced Tasks

  • npm run build:assets copies the files in the src/assets/ directory *into dist
  • npm run build:pug compiles the Pug located in the src/pug/ directory into dist
  • npm run build:scripts brings the src/js/scripts.js file into dist
  • npm run build:scss compiles the SCSS files located in the src/scss/ directory into dist
  • npm run start:debug runs the project in debug mode

Libraries and Theme

Grayscale is a multipurpose, one page HTML theme for Bootstrap created by Start Bootstrap.

The HTML is generated by pugjs

Copyright and License

GitHub license