Skip to content

patrickcate/dutch-art-daily

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dutch Art Daily

Netlify Status build codecov GitHub package.json version GitHub

A new Dutch Golden Age artwork delivered every day!

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:3000
yarn dev
# or
yarn serve

# build for production and launch server
yarn build
yarn start

# generate static project
yarn run generate

Generate Photos

The photos of artwork are generated in different sizes for use at different screen sizes. To generate the photos run:

yarn generate:images

Photos will be run through imagemin when generated.

Commit Code

This repo uses commitizen to standardize git commits. To run commitizen run:

yarn gitcommit

and follow to CLI prompts.

Run Tests

Unit Tests

yarn test:unit

E2E Tests

Development (interactive) mode

yarn dev

and wait for dev server to start

yarn dev:e2e

Production (headless) mode

yarn build && yarn start

and wait build and dev server to start

yarn test:e2e