Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 920 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 920 Bytes

Jazle

JavaScript library guessing game, a Wordle clone. A fork of cwackerfuss/react-wordle.

See the list of accepted libraries: wordlist.ts

Build and run

Run locally

Clone the repository and perform the following command line actions:

npm install
npm run start

Docker

Local

For local builds use the following commands:

docker build . -t jazle
docker run -p 3000:3000 jazle

Open http://localhost:3000 in your browser.

Production

Production builds run on nginx

# Build node container
docker build . -t jazle-base --target base
# Install dependencies and package the app
docker run -v$(pwd):/app:Z jazle-base sh -c 'npm install && npm run build'

# Build production container
docker build . -f Dockerfile.prod -t jazle
# Run production container
docker run -p 3000:80 jazle