You can view your edits and deploy the TiBillet docs with several methods, listed here from the simplest one to the fiddliest one.
Requirements:
- gnu make (you probably have it)
- docker cli and docker-compose
- low level utilities: bash, sed (yeah you have them)
make initto initiate your environment (done automatically if .env is absent)make startandmake stopto start and stop the container (and serve the node app) sometimes flimsy, use build instead if it fails too often, sorrymake enormake frto change the environment locale- combine the targets to restart in a different locale, ex
make fr start
- combine the targets to restart in a different locale, ex
make buildto rebuild your docker containersmake shellto enter a bash shell in the containermake deployto deploy the docs to github pages (all locales)
Don't be in too much of a hurry! at first start, the container needs to build your documentation, it might take it around 30 seconds to show up, doesn't mean anything's wrong with it…
Requirements:
- docker cli and docker-compose
cp env_example .envto init your environment- fill in your Git credentials and the target locale
docker compose up -danddocker compose downto start and stop the container and serve the node app- to change the locale, edit the dot .env and do a new compose up
docker compose up -d --buildto rebuild the containersdocker exec -ti tibillet_docusaurus bashto enter a shell in the containeryarn deployfrom inside the container to deploy to github pages
Requirements:
- node, yarn
yarn installto install dependenciesyarn start --poll 1000 --locale xx(where xx is either fr or en)yarn deployto deploy to github pages
This website is built using Docusaurus, a modern static website generator.