- Ensure Node.js is installed and the version, as reported by
node -v
, is>= 8.0.0
. - Clone this repository.
- Inside the resulting directory, run
npm i
to install dependencies. - See below for details on using Gulp.
This project uses Gulp to run automated tasks for development and production builds. The tasks are as follows:
gulp serve
: starts a live-reloading development server for rapidly prototypinggulp build:production
: builds the website and puts resulting files in thedist/
directorygulp build:clean
: deletes thedist/
directory
- Set up your enviroment.
- Start the Gulp devleopment server with
gulp serve
. - Make changes to
data.json
(add more photos, change a bio, remove a team member). - Watch changes magically appear in your browser on the fly.
- When you're done making changes,
- Stop
gulp serve
- Run
gulp build:production
- Copy all files from the resulting
dist/
directory to the server.
The distrubtion directory (dist/
) is ephemeral; do not manually make changes to files contained within it.