Skip to content
/ jazle Public

JavaScript library guessing game, a Wordle clone.

License

Notifications You must be signed in to change notification settings

oradwell/jazle

Repository files navigation

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