This is the official repo for the PublicNTP Website
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
yarn - https://yarnpkg.com/lang/en/docs/install/
npm - https://www.npmjs.com/get-npm
Run npm install
or yarn install
To start the local server run npm start
Note: Partials are not registered with gulp so if any changes take place in a partial The project will need to be manually restarted.
- Node + express,
- Handlebars,
- gulp,
- scss
This project is divided into two parts. The static section, and the dynamic section. The dynamic section of the app only has one purpose, to build the static part. The static section of the app can be found in the dist folder. The dist folder should not be edited manually as it will be overwritten by the build process.
All builds should be done on dev.
-
cd /var/www/publicntp/dist
-
gulp gather --env dev
-
gulp pushs3 --env dev
-
gulp gather --env staging
-
gulp pushs3 --env staging
MAKE A BACKUP FIRST
-
gulp gather --env production
-
gulp pushs3 --env production
=================================
To gather/generate website files and also push them to the s3 bucket, do the following:
-
gulp ship --env dev/staging/production
-
The command take up to a 1 minute to run, so leave it and be patient :)
- Alex Porter
- Brad Woodfin
- Bryant Oblad
- Cam Peterson
- Cody Deskins
- Dan Noland
- Eric Evans
- Keltson Howell
- Micah Brown
- Scott Waddell
- Terry Ott
- Tod Robbins
- Wylie Thomas