creating a mirror of https://github.com/pietroppeter/wordle-it
- In .env:
- Update the title and the description
- Add plausible domain
- In public/index.html:
- Update the "You need to enable JavaScript" message
- Update the language attribute in the HTML tag
- Update the name and short name in public/manifest.json
- Update the strings in src/constants/strings.ts
- Add all of the five letter words in the language to src/constants/validGuesses.ts, replacing the English words
- Add a list of goal words in the language to src/constants/wordlist.ts, replacing the English words
- Update the "Settings" modal in src/components/modals/SettingsModal.tsx
- Update the "Info" modal in src/components/modals/InfoModal.tsx
additional actions:
- change Date value for
epochMs
in src/lib/words.ts - build and deploy in docs folder (with github pages)
-
npm run build
- manually copy only the need files
- activate github pages
- had to manually make sure path for css and js is relative as in
static/...
and not/static/...
to make it work - some script to automate copying and renaming of files
- is it possible to avoid the need to use relative path? should I use a PUBLIC_URL?
- update again after completing translation
- I should pass to vercel or netlify
-
- use images and manifest.json from pietroppeter/wordle-it
- add also open graph fields in index.html (FB meta tags)
- use favicon from wordle