From 445be5f7ff52396df4cb8b711110b3c45e9dcc55 Mon Sep 17 00:00:00 2001 From: Sylvain Gay Date: Mon, 12 Sep 2022 13:49:35 +0200 Subject: [PATCH] =?UTF-8?q?Facilit=C3=A9=20maj=20site,=20ajout=C3=A9=20rep?= =?UTF-8?q?=20"static"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ajouté répertoire static, defaut pour aller chercher les fichiers - ajouté sample_config.js, cf README --- .gitignore | 3 ++- README.md | 7 +++++++ map.html | 6 +++--- sample_config.js | 7 +++++++ def.png => static/def.png | Bin invi.png => static/invi.png | Bin track.png => static/track.png | Bin traque.js | 11 +++++++---- 8 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 sample_config.js rename def.png => static/def.png (100%) rename invi.png => static/invi.png (100%) rename track.png => static/track.png (100%) diff --git a/.gitignore b/.gitignore index 25c8fdb..9b8304d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +config.js diff --git a/README.md b/README.md index 9ad69ef..51004ac 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,13 @@ cd traque npm install ``` +## Configuration + +```bash +cp -p sample_config.js config.js +``` +Then edit manually `config.js`. + ## Run server ```bash diff --git a/map.html b/map.html index 1f57b8a..6c89910 100644 --- a/map.html +++ b/map.html @@ -28,9 +28,9 @@