https://github.com/cnumr/ecoindex

Dépôt du site www.ecoindex.fr

https://github.com/cnumr/ecoindex

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary

Keywords

ecoindex greenit hugo outils

Keywords from Contributors

archival projection interactive profiles generic sequences observability autograding hacking shellcodes
Last synced: 9 months ago · JSON representation

Repository

Dépôt du site www.ecoindex.fr

Basic Info
  • Host: GitHub
  • Owner: cnumr
  • License: other
  • Language: JavaScript
  • Default Branch: master
  • Homepage: http://www.ecoindex.fr
  • Size: 3.27 MB
Statistics
  • Stars: 77
  • Watchers: 19
  • Forks: 15
  • Open Issues: 21
  • Releases: 29
Topics
ecoindex greenit hugo outils
Created almost 7 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

Image of CnumR

EcoIndex

(English version below)

EcoIndex est un outil du Collectif Conception Numérique Responsable

Contribuer

La contribution à l’ensemble de nos outils est ouvert à tout le monde, après s’être fait connaitre du collectif,

Nous recherchons des personnes ayant des connaissances dans la tech, et dans le domaine de la traduction.

Pour faciliter les échanges, un channel #ecoIndex est dédié au projet sur le Mattermost de l'association GreenIt

Le Projet

La nouvelle version d’EcoIndex (V3) est réalisée avec Hugo.

Le projet se base sur le module Hugo base-structure.

Installation

  1. Téléchargez et installez la dernière version extented disponible de Hugo (procédure d'installation de Hugo, en anglais).
  2. Téléchargez et installez la version 18 de Node.js (page de téléchargement de Node.js, en anglais).
  3. Depuis un terminal :
    1. Clonez ce dépôt avec la commande git clone https://github.com/cnumr/EcoIndex.git ou avec git clone git@github.com:cnumr/EcoIndex.git si vous utilisez SSH.
    2. Installez les dépendances avec la commmande npm install.
    3. Démarrez le serveur Hugo avec la commande hugo server.
  4. Rendez-vous à l'adresse http://localhost:1313 avec votre navigateur web.

Astuces pour les développeurs

Tester le build de prod en local

sh $ hugo serve --environment production

Tester le projet en local avec des clones locaux de modules utilisés dans le projet (ex. Good Impact Base Structure et Every Layout Pure CSS)

sh $ env HUGO_MODULE_REPLACEMENTS="gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure -> ~/workspace/modules/base-structure,gitlab.com/goodimpact/every-layout-css -> ~/workspace/every-layout-css" hugo serve

(Cet exemple suppose que le code des modules se trouve dans ~/workspace)

Pour plus de praticité, on peut écrire un script :

~/dev.sh ```sh

!/bin/bash

cmd=""; for cmdPart in "$@" do cmd+=$cmdPart; cmd+=" " done

res="env HUGOMODULEREPLACEMENTS=\"gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure -> ~/workspace/modules/base-structure,gitlab.com/goodimpact/every-layout-css -> ~/workspace/every-layout-css"\" "

res+=$cmd

echo $res

bash -c "$res" ```

et l'utiliser ainsi :

sh $ ~/dev.sh hugo serve ou par exemple :

sh $ ~/dev.sh hugo serve --environment production

Déploiement

Déploiement automatique grace aux Github Actions (WIP)

Licence

Le site internet www.ecoindex.fr, ainsi que les règles d'analyses et de calcul de l'ecoindex sont publiés sous licence Creative Commons BY-NC-ND. Cela signifie que vous pouvez l'utiliser librement pour des utilisations non commerciales, à la condition de maintenir la paternité du contenu, via un lien vers http://www.ecoindex.fr


Image of CnumR

EcoIndex

EcoIndex is a tool from the french Collectif Conception Numérique Responsable

Contribute

All of our tools are open to contributions from everybody, after having contacted the collective.

We seek people with technical skills, and people able to make translations and localizations.

There’s a dedicated Mattermost channel for the project.

The project

The new version of EcoIndex is built with Hugo.

The project is based on the Hugo module base-structure.

Setup

  1. Download and install the latest extented version available of Hugo (Hugo installation procedure).
  2. Download and install version 18 of Node.js (Node.js download page).
  3. From a terminal:
    1. Clone this repository with the command git clone https://github.com/cnumr/EcoIndex.git or with git clone git@github.com:cnumr/EcoIndex.git if you prefer to use SSH.
    2. Install the dependencies with the command npm install.
    3. Start the Hugo server with the command hugo server.
  4. Go to http://localhost:1313 with your web browser.

Tips for developers

Testing production build on dev environment

sh $ hugo serve --environment production

Testing on dev environment with local checkouts of the modules used in the project (ex. Good Impact Base Structure et Every Layout Pure CSS)

$ env HUGO_MODULE_REPLACEMENTS="gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure -> ~/workspace/modules/base-structure,gitlab.com/goodimpact/every-layout-css -> ~/workspace/every-layout-css" hugo serve (this example assumes you have cloned the modules in ~/workspace)

For more convenience, you can write a script:

~/dev.sh ```sh

!/bin/bash

cmd=""; for cmdPart in "$@" do cmd+=$cmdPart; cmd+=" " done

res="env HUGOMODULEREPLACEMENTS=\"gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure -> ~/workspace/modules/base-structure,gitlab.com/goodimpact/every-layout-css -> ~/workspace/every-layout-css"\" "

res+=$cmd

echo $res

bash -c "$res" ```

and use it like this:

sh $ ~/dev.sh hugo serve ou for example:

sh $ ~/dev.sh hugo serve --environment production

Deployment

Automatic deploys thanks to Github Actions (WIP)

License

The website www.ecoindex.fr, as well as the ecoindex analysis and calculation rules are published under Creative Commons BY-NC-ND license. This means that you can use it freely for non-commercial uses, on condition that you maintain the authorship of the content, via a link to http://www.ecoindex.fr

Owner

  • Name: Collectif Conception Numérique Responsable
  • Login: cnumr
  • Kind: organization
  • Location: France

GitHub Events

Total
  • Create event: 43
  • Release event: 3
  • Issues event: 8
  • Watch event: 8
  • Delete event: 37
  • Issue comment event: 72
  • Push event: 7
  • Pull request event: 83
  • Fork event: 2
Last Year
  • Create event: 43
  • Release event: 3
  • Issues event: 8
  • Watch event: 8
  • Delete event: 37
  • Issue comment event: 72
  • Push event: 7
  • Pull request event: 83
  • Fork event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 490
  • Total Committers: 18
  • Avg Commits per committer: 27.222
  • Development Distribution Score (DDS): 0.557
Past Year
  • Commits: 47
  • Committers: 6
  • Avg Commits per committer: 7.833
  • Development Distribution Score (DDS): 0.532
Top Committers
Name Email Commits
Yaacov y****v@g****o 217
Bastien Cornier b****n@c****v 72
Vincent Vatelot v****t@i****e 54
Julien Wilhelm c****t@a****r 30
aureliebaton 8****n 24
Dudul d****r@g****m 21
margaux-e 1****e 20
dependabot[bot] 4****] 19
Bastien Cornier b****r@c****v 14
Bastien Gatellier c****t@b****r 5
Raphaël Lemaire l****l@g****m 4
Vincent Vatelot v****t@e****m 3
Thomas Erhel t****l@g****m 2
Romuald_Priol r****l@e****m 1
Romuald Priol d****s@g****m 1
Julien Wilhelm 4****r 1
Alexandre Kalatzis a****4 1
Vincent Vatelot v****t@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 61
  • Total pull requests: 224
  • Average time to close issues: 12 months
  • Average time to close pull requests: 27 days
  • Total issue authors: 26
  • Total pull request authors: 10
  • Average comments per issue: 2.59
  • Average comments per pull request: 0.96
  • Merged pull requests: 77
  • Bot issues: 2
  • Bot pull requests: 148
Past Year
  • Issues: 6
  • Pull requests: 50
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 26 days
  • Issue authors: 6
  • Pull request authors: 2
  • Average comments per issue: 1.17
  • Average comments per pull request: 0.52
  • Merged pull requests: 2
  • Bot issues: 1
  • Bot pull requests: 47
Top Authors
Issue Authors
  • yaaax (15)
  • vvatelot (11)
  • JulienWilhelm (5)
  • wokier (3)
  • DocRoms (2)
  • bgatellier (2)
  • Rdulieu (2)
  • mfr75 (2)
  • dependabot[bot] (2)
  • hairuo-yang (1)
  • FranckKe (1)
  • obeone (1)
  • wail-arch (1)
  • revolunet (1)
  • Titouan-wds (1)
Pull Request Authors
  • dependabot[bot] (148)
  • vvatelot (47)
  • bgatellier (11)
  • yaaax (11)
  • JulienWilhelm (2)
  • PaulPHPE (1)
  • hrenaud (1)
  • DocRoms (1)
  • ThomasErhel (1)
  • dberuben (1)
Top Labels
Issue Labels
bug (19) keep open (15) Stale (14) enhancement (13) Front (8) a11y (2) dependencies (2) javascript (2) good first issue (1) help wanted (1) documentation (1) Back (1) ci (1) question (1)
Pull Request Labels
dependencies (147) javascript (143) Stale (13) enhancement (6) bug (5) Front (5) github_actions (5) keep open (4) documentation (1)

Dependencies

go.mod go
  • gitlab.com/goodimpact/every-layout-wc v0.0.0-20210715225714-a9629e5e8f4a
  • gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure v0.0.0-20220503140939-50508b12df3d
go.sum go
  • github.com/hankchizljaw/modern-css-reset v0.0.0-20210118105237-e7500a6c7fa3
  • gitlab.com/goodimpact/every-layout-css v0.0.0-20211221221050-b7779e404e38
  • gitlab.com/goodimpact/every-layout-wc v0.0.0-20210715225714-a9629e5e8f4a
  • gitlab.com/goodimpact/goodimpact-hugo/modules/base-structure v0.0.0-20220503140939-50508b12df3d
  • gitlab.com/neotericdesign-tools/hugo-content-module-style-guides.git v0.0.0-20200513165827-e43fa80f0593
package-lock.json npm
  • 316 dependencies
package.json npm
  • prettier * development
  • prettier-plugin-go-template * development
  • @babel/cli ^7.13.16
  • @babel/core ^7.13.16
  • @babel/preset-env ^7.13.15
  • @fullhuman/postcss-purgecss ^4.0.3
  • @webcomponents/webcomponentsjs ^2.5.0
  • autoprefixer ^10.2.5
  • babel-plugin-array-includes ^2.0.3
  • css-vars-ponyfill ^2.3.2
  • postcss ^8.2.13
  • postcss-calc ^8.0
  • postcss-cli ^8.3.1
  • postcss-preset-env ^6.7
  • postcss-simple-vars ^6.0
  • purgecss ^4.0
.github/workflows/deploy.yml actions
  • actions/checkout v3 composite
  • bahmutov/npm-install v1 composite
  • peaceiris/actions-hugo v2 composite
.github/workflows/quality.yml actions
  • actions/checkout v3 composite
  • bahmutov/npm-install v1 composite
  • peaceiris/actions-hugo v2 composite
.github/workflows/stale.yml actions
  • actions/stale v8 composite