Sign inSign up

robbj/site-index

By robbj

Updated over 7 years ago

Generate a site index using a yaml spec file

Image
0

415

robbj/site-index repository overview

Site Index

Generate a site index directory with a yaml spec, setup with robb-j/node-base.

Usage

The app runs on port 3000 in the container and your should mount your sites.yml into /app/web/sites/yml

services:
  site-index:
    image: robbj/site-index:latest
    volumes:
      - ./sites.yml:/app/web/sites.yml
    ports:
      - 3000:3000

Dev Commands


# Run for development
npm run start

# Update version then builds & pushes a new docker image
# -> uses REGISTRY file & the npm version to tag the image
npm version ... # --help

# Lint the web & test directories
npm run lint

# Run the unit tests
npm test

# Generate coverage
npm run coverage          # outputs to coverage/
npm run coverage-summary  # outputs to terminal

Tag summary

Content type

Image

Digest

Size

28.3 MB

Last updated

over 7 years ago

docker pull robbj/site-index