diff --git a/README.md b/README.md index d38bef0af30a709f1e426f619a867ddbb85f0754..4d74beb6bf0d84a3b0679e6e3f5124826b525d76 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,15 @@ Réaliser un site statique avec [Hugo](https://gohugo.io), il vous faudra appliq Pour cela la [documentation](https://gohugo.io/getting-started/quick-start/) devrait vous être très utile. +``` +hugo new site formation_docker +cd formation_docker +git init +git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke +echo "theme = 'ananke'" >> hugo.toml +hugo new content posts/my-first-post.md +``` + Une fois votre site générer, supprimer le dossier `public` et hebergé votre site dans un conteneur Docker avec un serveur web. N'hésitez pas à vous inspirer des diaposivites pour l'écriture du Dockerfile.