Compare commits
16 Commits
d234c90995
...
ecoindex_o
| Author | SHA1 | Date | |
|---|---|---|---|
| c5f4e7a0ee | |||
| 105b64dddf | |||
| e25ffa9684 | |||
| cdff588ea5 | |||
| a36e19ba68 | |||
| c8d498894e | |||
| 69103f9919 | |||
| f34549ed09 | |||
| d14bdd09fa | |||
| 436af02539 | |||
| e10ad59029 | |||
| c97177b500 | |||
| 3ea14af31d | |||
| f5d5fc0585 | |||
| 918904b239 | |||
| 9242450a8d |
4
.gitmodules
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
[submodule "members-data"]
|
||||
path = members-data
|
||||
url = ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_private.git
|
||||
branch = master
|
||||
@@ -9,12 +9,15 @@ Requirements :
|
||||
|
||||
### Install
|
||||
|
||||
1. Clone or fork this repo: `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git`
|
||||
2. Clone or fork the private repo containing members data in the same folder that SiteWebAstrolabe_public : `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_private.git`
|
||||
1. Clone or fork this repo INCLUDING its submodule: `git clone --recurse-submodules ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git`
|
||||
3. `cd` into the project directory (SiteWebAstrolabe_public) and run `npm install`
|
||||
4. Once all the dependencies are installed run `npm start`
|
||||
5. Open your browser at `http://localhost:8080` and away you go!
|
||||
|
||||
If you don't have the members data (page /equipe), you may have done a simple (non-recursive) clone. In this case, populate with member data by running `git submodule update --init --recursive`. Also, check that you do have the rights for the https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_private repository.
|
||||
|
||||
If you need to get the latest commits of the SiteWebAstrolabe_private repo, you can do a `git submodule update --remote`.
|
||||
|
||||
### Deploy
|
||||
|
||||
1. Copy paste deploy.js file in two new files `deploy-preprod.js`and `deploy-prod.js`
|
||||
|
||||
1
members-data
Submodule
12
package.json
@@ -8,11 +8,11 @@
|
||||
"@11ty/eleventy": "^3.0.0",
|
||||
"@11ty/eleventy-plugin-rss": "^2.0.2",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.3",
|
||||
"jsdom": "^24.0.0",
|
||||
"bootstrap": "^5.1.3",
|
||||
"concurrently": "^7.0.0",
|
||||
"html-minifier-terser": "^7.2.0",
|
||||
"image-size": "^0.8.3",
|
||||
"jsdom": "^24.0.0",
|
||||
"json-to-scss": "^1.3.1",
|
||||
"leaflet": "^1.7.1",
|
||||
"sass": "^1.26.3",
|
||||
@@ -26,6 +26,7 @@
|
||||
"copyfiles": "^2.4.1",
|
||||
"cross-env": "^5.2.1",
|
||||
"ftp-deploy": "^2.3.7",
|
||||
"go-webp": "^1.3.1",
|
||||
"make-dir-cli": "^3.0.0",
|
||||
"prettier": "^1.19.1",
|
||||
"rimraf": "^3.0.2",
|
||||
@@ -44,21 +45,22 @@
|
||||
"vendor:css": "copyfiles node_modules/leaflet/dist/leaflet.css node_modules/bootstrap/dist/css/bootstrap.min.css -f dist/vendor/css",
|
||||
"vendor:js": "copyfiles node_modules/leaflet/dist/leaflet.js node_modules/bootstrap/dist/js/bootstrap.min.js -f dist/vendor/js",
|
||||
"vendor": "npm run clean && npm run vendor:css && npm run vendor:js",
|
||||
"webp": "go-webp excludeFolders=\"src/fonts,members-data,src/images/profiles\" excludeFiles=\"images/*.svg,images/astrolabe/favicon.png\"",
|
||||
"start": "concurrently \"npm run vendor\" \"npm run sass:process -- --watch\" \"npm run serve\"",
|
||||
"serve": "cross-env ELEVENTY_ENV=development npx eleventy --serve",
|
||||
"prod": "cross-env ELEVENTY_ENV=prod npm run vendor && npm run sass:process && npx eleventy",
|
||||
"prod": "cross-env ELEVENTY_ENV=prod npm run vendor && npm run webp && npm run sass:process && npx eleventy",
|
||||
"deploy-preprod": "npm run prod && node deploy-preprod",
|
||||
"deploy-prod": "npm run prod && node deploy-prod"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe.git"
|
||||
"url": "git+https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Yves Gatesoupe",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe/issues"
|
||||
"url": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public/issues"
|
||||
},
|
||||
"homepage": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe"
|
||||
"homepage": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public"
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<link rel="icon" href="{{ site.faviconPath }}" type="image/png" />
|
||||
{% include "partials/global/meta-info.njk" %}
|
||||
<script>document.documentElement.classList.remove('no-js');</script>
|
||||
<link rel = "stylesheet" href="/vendor/css/leaflet.css"/>
|
||||
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css"/>
|
||||
<link rel = "stylesheet" href="/vendor/css/leaflet.css" media="print" onload="this.media='all'"/>
|
||||
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css" media="print" onload="this.media='all'"/>
|
||||
<style>{% include "assets/css/global.css" %}</style>
|
||||
{% block head %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Biocoop La Canopée'
|
||||
thumbnail: '/images/customers/logo-biocoop-lacanopee.png'
|
||||
thumbnail: '/images/customers/logo-biocoop-lacanopee.webp'
|
||||
url: 'https://www.biocoopbesancon.fr/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Build Data'
|
||||
thumbnail: '/images/customers/logo-builddata.png'
|
||||
thumbnail: '/images/customers/logo-builddata.webp'
|
||||
url: 'https://www.build-data.fr/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Delta Dore'
|
||||
thumbnail: '/images/customers/logo-deltadore.png'
|
||||
thumbnail: '/images/customers/logo-deltadore.webp'
|
||||
url: 'https://www.deltadore.fr'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Énergies citoyennes en Pays de Vilaine'
|
||||
thumbnail: '/images/customers/logo-epv.png'
|
||||
thumbnail: '/images/customers/logo-epv.webp'
|
||||
url: 'https://www.enr-citoyennes.fr/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'SmarDTV'
|
||||
thumbnail: '/images/customers/logo-smardtv.png'
|
||||
thumbnail: '/images/customers/logo-smardtv.webp'
|
||||
url: 'https://www.smardtv.com/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Vantiva'
|
||||
thumbnail: '/images/customers/logo-vantiva.png'
|
||||
thumbnail: '/images/customers/logo-vantiva.webp'
|
||||
url: 'https://www.vantiva.com/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'WIZTIVI'
|
||||
thumbnail: '/images/customers/logo-wiztivi.png'
|
||||
thumbnail: '/images/customers/logo-wiztivi.webp'
|
||||
url: 'https://www.wiztivi.com/'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
name: 'Work Adventure'
|
||||
thumbnail: '/images/customers/logo-workadventure.png'
|
||||
thumbnail: '/images/customers/logo-workadventure.webp'
|
||||
url: 'https://workadventu.re/'
|
||||
---
|
||||
|
||||
BIN
src/images/customers/logo-biocoop-lacanopee.webp
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
src/images/customers/logo-builddata.webp
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
src/images/customers/logo-deltadore.webp
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
src/images/customers/logo-epv.webp
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
src/images/customers/logo-smardtv.webp
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
src/images/customers/logo-vantiva.webp
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
src/images/customers/logo-wiztivi.webp
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/images/customers/logo-workadventure.webp
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
src/images/pages/image-astroiseaux.webp
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
src/images/pages/poisson-2023.webp
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
src/images/pages/poisson-2024-guijaune.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
src/images/partners/logo-alliancelibre.webp
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
src/images/partners/logo-bigre.webp
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/images/partners/logo-coop-tech.webp
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/images/partners/logo-fede-cae.webp
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
src/images/partners/logo-inr.webp
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
src/images/partners/logo-lepoool.webp
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
src/images/partners/logo-resolidaire.webp
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
src/images/partners/logo-xo-solutions.webp
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
src/images/partners/logo_oxalis.webp
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
src/images/partners/logo_transition_ess.webp
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
src/images/posts/AG2022/TotemAgAstrolabe.webp
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
src/images/posts/AG2022/ag-anniversaire.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
src/images/posts/AG2022/ag-atelier-ciseaux.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
src/images/posts/AG2022/ag-atelier-clouage.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
src/images/posts/AG2022/ag-atelier-decoupe.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
src/images/posts/AG2022/ag-atelier-decoupe2.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
src/images/posts/AG2022/ag-cestlafete.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
src/images/posts/AG2022/ag1cafe.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
src/images/posts/AG2022/ag2tempsformel.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
src/images/posts/AG2022/ag3candidature.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
src/images/posts/AG2022/ag4tempscollectif.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
src/images/posts/AG2022/ag5jeuxpermanent.webp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
src/images/posts/AG2022/ag6repasmidi.webp
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
src/images/posts/AG2022/banniere-site-cue.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
src/images/posts/AG2023/BrainstormingAG2023-1.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
src/images/posts/AG2023/BrainstormingAG2023-2.webp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
src/images/posts/AG2023/CuisineAG2023.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
src/images/posts/AG2023/LaBasseCour.webp
Normal file
|
After Width: | Height: | Size: 229 KiB |
BIN
src/images/posts/AG2023/RepasAG2023-1.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
src/images/posts/AG2023/RepasAG2023-2.webp
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
src/images/posts/AG2023/RepasAG2023-3.webp
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
src/images/posts/AG2023/RepasAG2023-4.webp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
src/images/posts/AG2023/ShootingAG2023.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
src/images/posts/AG2023/VotesAG2023.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
src/images/posts/AG2023/crew-join.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
src/images/posts/AG2024/10_RepasSoir.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
src/images/posts/AG2024/11_ConcertSBRBS.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
src/images/posts/AG2024/1_AG2024_PReAG.webp
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
src/images/posts/AG2024/2_AG2024_Halles_en_commun.webp
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
src/images/posts/AG2024/3_AG2024_CafeAccueil.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
BIN
src/images/posts/AG2024/4_AG2024_Vote.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
BIN
src/images/posts/AG2024/5_AG2024_Goodies.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
src/images/posts/AG2024/6_AG2024_RepasMidi.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
src/images/posts/AG2024/7_AG2024_AtelierEquipiere.webp
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
src/images/posts/AG2024/9_AtelierFresqueSexisme.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
src/images/posts/AG2025/AG2025_1.webp
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
src/images/posts/AG2025/AG2025_2.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
src/images/posts/AG2025/AG2025_3.webp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
src/images/posts/Adalovelace_calculusletterlarge.webp
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
src/images/posts/Affiche-MoisESS2021.webp
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
src/images/posts/Affiche-MoisESS2022.webp
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
src/images/posts/Affiche-PAE-Thorigne-JIDF-Mars2023.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
src/images/posts/BigBrother.webp
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
src/images/posts/CAB500-alice-recoque.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
src/images/posts/CNIL-logo-alice-recoque.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
src/images/posts/COBOL-grace-hopper.webp
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/images/posts/Carte_CAE_COPEA_France_Metro.webp
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
src/images/posts/Carte_CAE_France_Metro.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
src/images/posts/CopeaSete2020.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
src/images/posts/EDO23-Pres-Astrolabe-ITGP1.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
src/images/posts/EntreprendreCAE-Plaquette2022-p1.webp
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
src/images/posts/Florent-DevFreelanceCAE.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
BIN
src/images/posts/Flyer-CAE-OuestP1.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
src/images/posts/GR25/GR25_CAE_prog.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
src/images/posts/GR25/GR25_CAE_visuel.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
src/images/posts/Happy-Dev-bigre.webp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
src/images/posts/Illustration_SCOP_CAE_cquoi.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
src/images/posts/Illustration_Salaire.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
src/images/posts/LicenceLibreCOPEA2020P1.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
BIN
src/images/posts/MARK1-grace-hopper.webp
Normal file
|
After Width: | Height: | Size: 58 KiB |