Giter Club home page Giter Club logo

deviensdev's Introduction

Deviens Dev

This repo contains the source code powering Deviens.Dev

Getting Started

  • Get the sources of the site
$ git clone https://github.com/O-clock-Alumni/DeviensDev.git
$ cd DeviensDev
  • Install dependencies
$ yarn install
  • Launch locally, in development mode (Powered by Gatsby)
$ yarn start
$ open http://localhost:8000

💡 Note: you'll need a GitHub token in environment variable (DEVIENSDEV_GITHUB_TOKEN in a .env file) to have access to all features of the site. Otherwise, the site will run in downgraded mode.

Contributing

See CONTRIBUTING.md

License

DeviensDev uses the MIT license.

For more information on this license, click here.

deviensdev's People

Contributors

alexandrebourdeaudhui avatar antho005 avatar dependabot[bot] avatar maissamusa avatar maylee33 avatar mysh3ll avatar webdif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deviensdev's Issues

sitemap please :-)

Si vous avez le temps et une solution simple pour le générer, serait-il possible d'avoir un sitemap ?

@Maylee33 et moi-même sommes en pleine correction et on voudrait éviter de rater une page (même si le site a pas l'air ultra réticulaire non plus).

Et puis, c'est bon pour la SEO 😛

Merci par avance et bravo, j'ai découvert le site hier, il est très chouette et donne envie de lire ses contenus !

Gestion cache

Si je comprends bien ce que je lisais hier soir, il faut gérer le cache (pour les images, etc), depuis Nginx directement, c’est bien ça ? 🤔 D'ailleurs il est conseillé de mettre le max-age au maximum pour les gros assets qui ne risquent de pas changer "de si tôt" (images, fonts, etc...)

Mais si je regarde ce que nous avons actuellement, c’est valide 1 journée 😕

~/Oclock/DeviensDev on  develop is 📦  v1.0.0 via ⬢ v8.12.0
•100% ➜ curl -X GET -I -H "Cache-Control: no-cache" https://deviensdev.com/static/equerre-2db6b696b455e6ff1b02d281a0a71f33.png
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 03 Jan 2019 23:35:58 GMT
Content-Type: image/png
Content-Length: 226731
Connection: keep-alive
Last-Modified: Thu, 03 Jan 2019 10:41:33 GMT
ETag: "5c2de6dd-375ab"
Expires: Fri, 04 Jan 2019 23:35:58 GMT
Cache-Control: max-age=86400
X-UA-Compatible: IE=Edge
Accept-Ranges: bytes

J’en profite également pour dire que nous n'avons pas ces propriétés d’activés sur le serveur. J'ai regardé un peu à quoi correspondait chaque propriété, et, c'est surtout de la sécurité pour éviter les attaques.

Est-ce que c'est valide pour un site statique également ? 🤔 Par acquit de conscience, j'aurais tendance à vouloir l'activer, mais bon...

X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block

Passer à Google fonts

Actuellement elles font ~120-160Kb selon la fonts. Voir s'il est possible d'ajouter les fonts en .woff2 afin de rendre les fonts moins lourdes. (~20Kb)

Accepter un avatar autre que celui de GitHub

Afin de ne pas imposer l'avatar GitHub à ceux qui souhaitent contribuer, nous allons faire en sorte d'accepter les avatars "externe", autre que celui qui se trouve sur le profil GitHub.

Pour ce faire, j'ai besoin de savoir comment on compte s'organiser... Trois fois rien, juste quelques détails pour avancer :).

  1. Ajouter une propriété supplémentaire ("avatar") dans le fichier authorX.json ?

  2. Où mettre ces images ? Dans le dossier authors ? Dans un autre dossier ?

  3. Quelle convention de nommage allons nous adopter pour l'avatar ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.