git clone git@github.com:smndhm/thbt-mots.git && cd thbt-mots && npm ci
npm run serve
You can define your words lists in the words.json
file.
After your words lists are defined you have to generate the mp3s. To do so you'll need to get a Google Cloud access token by following those 4 steps.
Then add your downloaded service account json file to the project and list it in the .env
file.
You can now generate the mp3s with the command npm run mp3s
.
Using Github Actions, everytime you'll push on the master
branch it will build the project to a gh-pages
branch.
You'll just have to activate the Github Pages and select the branch as source.