Skip to content
/ website Public

Entry point for the Mechanical Keyboards France community

License

Notifications You must be signed in to change notification settings

mkbdfr/website

Folders and files

NameName
Last commit message
Last commit date
Sep 17, 2021
Jul 9, 2019
Sep 1, 2022
Jul 6, 2019
Aug 19, 2019
Jul 7, 2019
Jul 6, 2019
Aug 13, 2022
Jul 9, 2019
Jul 9, 2019
Jul 9, 2019
Sep 1, 2022
Sep 6, 2019
Feb 4, 2023
Aug 13, 2022

Repository files navigation

Discord Code Style Netlify Status

Requirements

  • Node.js LTS
  • a mechanical keyboard of your choice 👀

Build

npm install # install build dependencies
npm run build # build website

Serve

npm run serve

Note: With the serve command, two processes will run to serve the HTML files: one with hot reload, and a second to generate CSS for the SASS files. Modifying the code will reload the website but modifying the SASS files will not; you will have to refresh the page by yourself because there is no event spread between those two processes.

Contribute

Any contribution is welcome! Just run these commands before opening a pull request:

npm run prettier # Check code style
npm run prettier:fix # Fix code style
npm run chk:data # Ensure that data is well formated (e.g. keyboards)

Deploy

Travis automatically executes these tasks for every push on the master branch:

npm install
npm run chk:data
npm run prettier
npm run build

If no exception is thrown, Travis will push the output to the gh-pages branch.


Made in France 🇫🇷