Digital standards website and documentation from the City of Philadelphia.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
layouts
site-content
static-src
static
themes/phila.gov
.gitignore
.travis.yml
.yarnclean
LICENSE
Makefile
README.md
config.yml
package.json
yarn.lock

README.md

Digital Standards

This repository houses the documentation and website files for the City of Philadelphia's Digital Standards. The UI components, and other assets can be found in the standards repository.

Local copy

The City of Philadelphia's Digital Standards is compiled using the static site generator, Hugo. It uses npm scripts for task running and Yarn for package management.

You will need to have the following installed to run a local version of the site:

To install dependencies and prepare to work on the site, enter the folder with your local copy of the site in a terminal window and run:

yarn

To start a local server, run:

hugo serve

The local webserver will be available at: http://localhost:1313/

To watch for changes to CSS and JavaScript assets, in a separate terminal window run:

yarn watch

Making changes

Template markup and assets live in the themes/phila.gov directory.

Hugo comes with LiveReload, which will automatically refresh your browser on changes.

Commits to the master branch will trigger a build of the site through Travis CI.